2017-08-27 15:03:22 +02:00
|
|
|
buildscript {
|
2020-02-20 20:08:06 +01:00
|
|
|
ext {
|
2024-01-15 20:13:37 +01:00
|
|
|
kotlin_version = '1.9.22'
|
2024-05-07 21:57:36 +02:00
|
|
|
tools_version = '8.4.0'
|
2023-11-01 18:12:57 +01:00
|
|
|
sdk_version = 34
|
2020-02-20 20:08:06 +01:00
|
|
|
support_version = '25.3.1'
|
|
|
|
}
|
2017-08-27 15:03:22 +02:00
|
|
|
|
|
|
|
repositories {
|
2017-12-08 22:07:05 +01:00
|
|
|
google()
|
2021-05-05 20:50:50 +02:00
|
|
|
mavenCentral()
|
2017-08-27 15:03:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath "com.android.tools.build:gradle:$tools_version"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
gradle.projectsEvaluated {
|
2023-12-18 09:41:07 +01:00
|
|
|
tasks.withType(JavaCompile).tap {
|
|
|
|
configureEach {
|
|
|
|
options.compilerArgs << "-Xlint:unchecked"
|
|
|
|
}
|
2017-08-27 15:03:22 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-18 09:41:07 +01:00
|
|
|
tasks.register('clean', Delete) {
|
2017-08-27 15:03:22 +02:00
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|