You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
743 B
Kotlin
29 lines
743 B
Kotlin
buildscript {
|
|
repositories {
|
|
// dependabot cannot handle google()
|
|
maven {
|
|
url = uri("https://dl.google.com/dl/android/maven2")
|
|
}
|
|
// dependabot cannot handle mavenCentral()
|
|
maven {
|
|
url = uri("https://repo.maven.apache.org/maven2")
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:7.3.1")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.22")
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
tasks.withType<JavaCompile> {
|
|
val compilerArgs = options.compilerArgs
|
|
compilerArgs.add("-Xlint:unchecked")
|
|
compilerArgs.add("-Xlint:deprecation")
|
|
}
|
|
}
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
delete(rootProject.buildDir)
|
|
}
|