summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2021-11-17 17:57:45 +0100
committerJoffrey Bion <joffrey.bion@gmail.com>2021-11-18 01:40:53 +0100
commitd7d2d3ba58ee157c6293892de1a2cf82038eb697 (patch)
tree2dda2f4e32067802e7d33c23c25b8f23954c6045
parentRemove redundant experimental flag (diff)
downloadseven-wonders-d7d2d3ba58ee157c6293892de1a2cf82038eb697.tar.gz
seven-wonders-d7d2d3ba58ee157c6293892de1a2cf82038eb697.tar.bz2
seven-wonders-d7d2d3ba58ee157c6293892de1a2cf82038eb697.zip
Add allWarningsAsErrors for stricter build
-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