diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index cae9ecca..f1f66a9c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,11 @@ allprojects { val language_version: String by project tasks.withType(KotlinCompile::class).all { kotlinOptions { - freeCompilerArgs += "-Xjsr305=strict -Xskip-metadata-version-check -Xopt-in=kotlin.RequiresOptIn." + freeCompilerArgs = freeCompilerArgs + listOf( + "-Xopt-in=kotlin.RequiresOptIn", + "-Xskip-metadata-version-check", + "-Xjsr305=strict" + ) languageVersion = language_version apiVersion = language_version jvmTarget = "1.8" |