2026-04-03-pre map libra
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
buildscript {
|
||||
ext.kotlin_version = '2.1.0'
|
||||
ext.kotlin_version = '2.3.10'
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.1.0'
|
||||
classpath 'com.android.tools.build:gradle:8.13.2'
|
||||
classpath 'com.google.gms:google-services:4.3.15'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
@@ -22,10 +22,29 @@ rootProject.buildDir = '../build'
|
||||
|
||||
subprojects {
|
||||
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||||
}
|
||||
|
||||
subprojects {
|
||||
project.evaluationDependsOn(':app')
|
||||
|
||||
def setupAndroid = {
|
||||
if (project.plugins.hasPlugin('com.android.library') || project.plugins.hasPlugin('com.android.application')) {
|
||||
project.android {
|
||||
if (namespace == null || namespace == "") {
|
||||
namespace = project.group
|
||||
}
|
||||
compileSdk 36
|
||||
defaultConfig {
|
||||
targetSdk 36
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (project.state.executed) {
|
||||
setupAndroid()
|
||||
} else {
|
||||
project.afterEvaluate {
|
||||
setupAndroid()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("clean", Delete) {
|
||||
|
||||
Reference in New Issue
Block a user