Deprecate KotlinJvmOptions.useIR

Starting from language version 1.5, JVM IR is enabled by default, so
this option has no effect. To rollback to the old JVM backend, the new
option useOldBackend can be used.

 #KT-45504 Fixed
This commit is contained in:
Alexander Udalov
2021-03-18 12:17:46 +01:00
parent a10ebcea51
commit 415d52fe54
3 changed files with 8 additions and 3 deletions
@@ -57,9 +57,10 @@ interface KotlinJvmOptions : org.jetbrains.kotlin.gradle.dsl.KotlinCommonOption
var noStdlib: kotlin.Boolean
/**
* Use the IR backend
* Use the IR backend. This option has no effect unless the language version less than 1.5 is used
* Default value: false
*/
@Deprecated(message = "This option has no effect and will be removed in a future release.", level = DeprecationLevel.WARNING)
var useIR: kotlin.Boolean
/**