summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index ce150736..c3b52138 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -21,6 +21,7 @@ subprojects {
}
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
+ kotlinOptions.allWarningsAsErrors = true
kotlinOptions.freeCompilerArgs += listOf(
"-Xopt-in=kotlin.RequiresOptIn",
"-Xopt-in=kotlin.time.ExperimentalTime", // for measureTimedValue and withTimeout(Duration)
bgstack15