23 lines
507 B
Plaintext
23 lines
507 B
Plaintext
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:7.0.3")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0")
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
tasks.withType<JavaCompile> {
|
|
val compilerArgs = options.compilerArgs
|
|
compilerArgs.add("-Xlint:unchecked")
|
|
compilerArgs.add("-Xlint:deprecation")
|
|
}
|
|
}
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
delete(rootProject.buildDir)
|
|
}
|