From d7d2d3ba58ee157c6293892de1a2cf82038eb697 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 17 Nov 2021 17:57:45 +0100 Subject: Add allWarningsAsErrors for stricter build --- build.gradle.kts | 1 + 1 file changed, 1 insertion(+) (limited to 'build.gradle.kts') 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> { + kotlinOptions.allWarningsAsErrors = true kotlinOptions.freeCompilerArgs += listOf( "-Xopt-in=kotlin.RequiresOptIn", "-Xopt-in=kotlin.time.ExperimentalTime", // for measureTimedValue and withTimeout(Duration) -- cgit