mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 05:17:43 +00:00
build: escalate warnings to errors
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
3f20678d79
commit
a740cb570a
@ -51,6 +51,7 @@ internal fun Project.configureForAllProjects() {
|
||||
}
|
||||
tasks.withType<KotlinCompile> {
|
||||
kotlinOptions {
|
||||
allWarningsAsErrors = true
|
||||
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
||||
freeCompilerArgs = freeCompilerArgs + additionalCompilerArgs
|
||||
languageVersion = "1.5"
|
||||
|
@ -38,6 +38,7 @@ class PasswordStorePlugin : Plugin<Project> {
|
||||
project.tasks.withType<JavaCompile> {
|
||||
options.compilerArgs.add("-Xlint:unchecked")
|
||||
options.isDeprecation = true
|
||||
options.isWarnings = true
|
||||
}
|
||||
}
|
||||
is LibraryPlugin -> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user