diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-05 16:52:27 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-12 09:22:25 +0200 |
commit | 9aa36cd199c1d6cf0feb959e3ec6ac0539168cd5 (patch) | |
tree | 03b40254778add686a1aaf7a263f099e748097fc /build.gradle.kts | |
parent | Move score to common model (to enable passing it to client) (diff) | |
download | seven-wonders-9aa36cd199c1d6cf0feb959e3ec6ac0539168cd5.tar.gz seven-wonders-9aa36cd199c1d6cf0feb959e3ec6ac0539168cd5.tar.bz2 seven-wonders-9aa36cd199c1d6cf0feb959e3ec6ac0539168cd5.zip |
Upgrade to krossbow 0.20.1 (migrate to flows)
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 7edf6641..e44a8519 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,12 +13,14 @@ subprojects { jcenter() } + val compilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn") tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { kotlinOptions.jvmTarget = "1.8" + kotlinOptions.freeCompilerArgs += compilerArgs } tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile> { - kotlinOptions.freeCompilerArgs = listOf("-Xuse-experimental=kotlin.Experimental") + kotlinOptions.freeCompilerArgs = compilerArgs } afterEvaluate { |