- migrate settings.gradle, build.gradle, app/build.gradle to kotlin dsl (.kts) - upgrade java/kotlin compatibility from 1.8 to 17 - upgrade firebase gradle plugins (google-services 4.4.4, crashlytics 3.0.6, perf 2.0.2) - remove jetifier, add gradle caching and parallel builds - fix windowDrawsSystemBarBackgrounds for edge-to-edge at targetSdk 36 - add dataExtractionRules for android 12+ backup compliance - use layout.buildDirectory api (replaces deprecated buildDir) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
537 B
Kotlin
24 lines
537 B
Kotlin
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
val newBuildDir: Directory =
|
|
rootProject.layout.buildDirectory
|
|
.dir("../../build")
|
|
.get()
|
|
rootProject.layout.buildDirectory.value(newBuildDir)
|
|
|
|
subprojects {
|
|
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
|
|
project.layout.buildDirectory.value(newSubprojectBuildDir)
|
|
}
|
|
subprojects {
|
|
project.evaluationDependsOn(":app")
|
|
}
|
|
|
|
tasks.register<Delete>("clean") {
|
|
delete(rootProject.layout.buildDirectory)
|
|
}
|