libpdfviewer/build.gradle.kts

29 lines
743 B
Plaintext
Raw Normal View History

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 {
classpath("com.android.tools.build:gradle:7.2.2")
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)
}