瀏覽代碼

Use non-deprecated Kotlin experimental flag

arkon 5 年之前
父節點
當前提交
ed51989796
共有 1 個文件被更改,包括 1 次插入1 次删除
  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