diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-11-17 17:57:45 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2021-11-18 01:40:53 +0100 |
commit | d7d2d3ba58ee157c6293892de1a2cf82038eb697 (patch) | |
tree | 2dda2f4e32067802e7d33c23c25b8f23954c6045 /build.gradle.kts | |
parent | Remove redundant experimental flag (diff) | |
download | seven-wonders-d7d2d3ba58ee157c6293892de1a2cf82038eb697.tar.gz seven-wonders-d7d2d3ba58ee157c6293892de1a2cf82038eb697.tar.bz2 seven-wonders-d7d2d3ba58ee157c6293892de1a2cf82038eb697.zip |
Add allWarningsAsErrors for stricter build
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 1 |
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) |