2021-11-21 21:10:47 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2022-06-06 11:03:14 +02:00
|
|
|
// 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")
|
|
|
|
}
|
2021-11-21 21:10:47 +01:00
|
|
|
}
|
|
|
|
dependencies {
|
2022-08-03 23:05:17 +02:00
|
|
|
classpath("com.android.tools.build:gradle:7.2.2")
|
2022-07-07 23:10:45 +02:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.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)
|
|
|
|
}
|