2017-08-27 15:03:22 +02:00
|
|
|
buildscript {
|
2020-02-20 20:08:06 +01:00
|
|
|
ext {
|
2024-09-17 22:37:08 +02:00
|
|
|
kotlin_version = '2.0.20'
|
2024-07-24 19:41:43 +02:00
|
|
|
tools_version = '8.5.1'
|
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
|
|
|
|
}
|