2021-11-21 21:10:47 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2022-12-25 16:12:34 +01:00
|
|
|
google()
|
|
|
|
mavenCentral()
|
2021-11-21 21:10:47 +01:00
|
|
|
}
|
|
|
|
dependencies {
|
2023-04-14 12:15:17 +02:00
|
|
|
classpath("com.android.tools.build:gradle:8.0.0")
|
2023-04-09 15:34:03 +02:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20")
|
2021-11-21 21:10:47 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
tasks.withType<JavaCompile> {
|
|
|
|
val compilerArgs = options.compilerArgs
|
|
|
|
compilerArgs.add("-Xlint:unchecked")
|
|
|
|
compilerArgs.add("-Xlint:deprecation")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|