summaryrefslogtreecommitdiff
path: root/sw-common-model/build.gradle.kts
diff options
context:
space:
mode:
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