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