Enable strict JSR-305 mode

bzip2
Graham 5 years ago
parent ccbbf873af
commit a1d1c74987
  1. 5
      build.gradle.kts

@ -58,7 +58,10 @@ allprojects {
} }
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8" kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjsr305=strict")
}
} }
tasks.withType<AbstractArchiveTask> { tasks.withType<AbstractArchiveTask> {

Loading…
Cancel
Save