Fix Kotlin compiler configuration

The `-Xopt-in` option is now deprecated and replaced by `-opt-in`.
This commit is contained in:
Brian Clozel
2022-05-16 11:31:04 +02:00
parent e083dc8615
commit bd9d417c8a

View File

@@ -43,7 +43,7 @@ configure(moduleProjects) {
jvmTarget = "1.8"
languageVersion = "1.3"
apiVersion = "1.3"
freeCompilerArgs = ["-Xjsr305=strict", "-Xsuppress-version-warnings", "-Xopt-in=kotlin.RequiresOptIn"]
freeCompilerArgs = ["-Xjsr305=strict", "-Xsuppress-version-warnings", "-opt-in=kotlin.RequiresOptIn"]
allWarningsAsErrors = true
}
}