2022-02-03 11:06:44 -05:00
|
|
|
allprojects {
|
2024-11-05 11:34:24 -05:00
|
|
|
ext.kotlin_version = '2.0.20'
|
2024-05-16 10:58:02 -05:00
|
|
|
|
2022-02-03 11:06:44 -05:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.buildDir = '../build'
|
2024-08-07 13:47:40 -05:00
|
|
|
|
2022-02-03 11:06:44 -05:00
|
|
|
subprojects {
|
2024-08-15 14:53:37 -05:00
|
|
|
// fix for verifyReleaseResources
|
|
|
|
// ============
|
|
|
|
afterEvaluate { project ->
|
|
|
|
if (project.plugins.hasPlugin("com.android.application") ||
|
|
|
|
project.plugins.hasPlugin("com.android.library")) {
|
|
|
|
project.android {
|
2024-12-04 16:03:46 -05:00
|
|
|
compileSdkVersion 35
|
|
|
|
buildToolsVersion "35.0.0"
|
2024-08-15 14:53:37 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ============
|
2022-02-03 11:06:44 -05:00
|
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
|
|
}
|
2024-08-07 13:47:40 -05:00
|
|
|
|
2022-02-03 11:06:44 -05:00
|
|
|
subprojects {
|
|
|
|
project.evaluationDependsOn(':app')
|
|
|
|
}
|
|
|
|
|
2023-05-12 09:21:13 -05:00
|
|
|
tasks.register("clean", Delete) {
|
2022-02-03 11:06:44 -05:00
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|
2024-04-20 23:07:32 -05:00
|
|
|
|
|
|
|
tasks.named('wrapper') {
|
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
2024-08-15 14:53:37 -05:00
|
|
|
}
|
|
|
|
|