Rename -Xno-use-ir -> -Xuse-old-backend, add Gradle option
As soon as JVM IR is enabled by default (in language version 1.5), use the CLI argument `-Xuse-old-backend` or Gradle option `useOldBackend` to switch to the old JVM backend.
This commit is contained in:
@@ -51,7 +51,8 @@ tasks {
|
||||
"-Xopt-in=kotlin.contracts.ExperimentalContracts",
|
||||
"-Xcoroutines=enable",
|
||||
"-XXLanguage:-ReleaseCoroutines",
|
||||
"-Xno-use-ir"
|
||||
"-Xno-use-ir",
|
||||
"-Xuse-old-backend"
|
||||
)
|
||||
moduleName = "kotlin-coroutines-experimental-compat"
|
||||
}
|
||||
@@ -62,7 +63,8 @@ tasks {
|
||||
apiVersion = "1.2"
|
||||
freeCompilerArgs = listOf(
|
||||
"-Xcoroutines=enable",
|
||||
"-Xno-use-ir"
|
||||
"-Xno-use-ir",
|
||||
"-Xuse-old-backend"
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -71,7 +73,8 @@ tasks {
|
||||
languageVersion = "1.3"
|
||||
apiVersion = "1.3"
|
||||
freeCompilerArgs = listOf(
|
||||
"-Xno-use-ir"
|
||||
"-Xno-use-ir",
|
||||
"-Xuse-old-backend"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user