Explorar el Código

Use non-deprecated Kotlin experimental flag

arkon hace 5 años
padre
commit
ed51989796
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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