summaryrefslogtreecommitdiff
path: root/sw-common-model/build.gradle.kts
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2021-02-10 17:14:27 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2021-02-10 17:14:27 +0100
commitdf9ac938d7f101ffe077751fe2b59a65be940fa8 (patch)
tree29841267710b73b0e74d675cb9f4da8443047f4a /sw-common-model/build.gradle.kts
parentBetter connection logs (diff)
downloadseven-wonders-df9ac938d7f101ffe077751fe2b59a65be940fa8.tar.gz
seven-wonders-df9ac938d7f101ffe077751fe2b59a65be940fa8.tar.bz2
seven-wonders-df9ac938d7f101ffe077751fe2b59a65be940fa8.zip
Cleanup experimental annotations
Diffstat (limited to 'sw-common-model/build.gradle.kts')
-rw-r--r--sw-common-model/build.gradle.kts4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw-common-model/build.gradle.kts b/sw-common-model/build.gradle.kts
index dd7b5327..dc95d608 100644
--- a/sw-common-model/build.gradle.kts
+++ b/sw-common-model/build.gradle.kts
@@ -11,6 +11,10 @@ kotlin {
browser() // necessary for local dependency from JS UI module
}
sourceSets {
+ all {
+ languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
+ languageSettings.useExperimentalAnnotation("kotlin.time.ExperimentalTime")
+ }
val commonMain by getting {
dependencies {
api("org.jetbrains.kotlinx:kotlinx-serialization-core:$kotlinSerialization")
bgstack15