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-02-27 21:28:20 +01:00
|
|
|
classpath("com.android.tools.build:gradle:7.4.2")
|
2023-02-04 13:06:08 +01:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
|
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)
|
|
|
|
}
|