2021-11-21 21:10:47 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2022-02-04 22:06:59 +01:00
|
|
|
classpath("com.android.tools.build:gradle:7.1.1")
|
2021-12-14 22:08:04 +01:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.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)
|
|
|
|
}
|