2021-11-21 21:10:47 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2022-04-07 23:07:08 +02:00
|
|
|
classpath("com.android.tools.build:gradle:7.1.3")
|
2022-04-19 23:09:08 +02:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21")
|
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)
|
|
|
|
}
|