Skip to content

Commit

Permalink
Enable progressiveMode and allWarningsAsErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
joffrey-bion committed May 4, 2024
1 parent 227f09c commit 21a2263
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gradle/plugins/src/main/kotlin/krossbow-jvm.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {

kotlin {
compilerOptions {
progressiveMode = true
allWarningsAsErrors = true
freeCompilerArgs.add("-Xjvm-default=all-compatibility")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ kotlin {
}
}
compilerOptions {
progressiveMode = true
// we can't enable this yet because of -Xjvm-default=all-compatibility generating a waning on non-JVM
// allWarningsAsErrors = true
freeCompilerArgs.add("-Xjvm-default=all-compatibility")
}
}

0 comments on commit 21a2263

Please sign in to comment.