Browse Source

Use non-deprecated Kotlin experimental flag

arkon 5 năm trước cách đây
mục cha
commit
ed51989796
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/build.gradle

+ 1 - 1
app/build.gradle

@@ -281,7 +281,7 @@ repositories {
 
 // See https://kotlinlang.org/docs/reference/experimental.html#experimental-status-of-experimental-api-markers
 tasks.withType(org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile).all {
-    kotlinOptions.freeCompilerArgs += ["-Xuse-experimental=kotlin.Experimental"]
+    kotlinOptions.freeCompilerArgs += ["-Xopt-in=kotlin.Experimental"]
 }
 
 // Duplicating Hebrew string assets due to some locale code issues on different devices