Mark obsolete Gradle JVM options as Deprecated with Error

Options `includeRuntime`, `noStdlib` and `noReflect` were affected
#Fixed KT-44361
This commit is contained in:
Yaroslav Chernyshev
2021-02-09 12:02:34 +03:00
parent 6eaf0a95ca
commit 17fc10a8af
4 changed files with 47 additions and 2 deletions
@@ -8,6 +8,7 @@ interface KotlinJvmOptions : org.jetbrains.kotlin.gradle.dsl.KotlinCommonOption
* Include Kotlin runtime into the resulting JAR
* Default value: false
*/
@Deprecated(message = "This option has no effect and will be removed in a future release.", level = DeprecationLevel.ERROR)
var includeRuntime: kotlin.Boolean
/**
@@ -45,12 +46,14 @@ interface KotlinJvmOptions : org.jetbrains.kotlin.gradle.dsl.KotlinCommonOption
* Don't automatically include Kotlin reflection into the classpath
* Default value: true
*/
@Deprecated(message = "This option has no effect and will be removed in a future release.", level = DeprecationLevel.ERROR)
var noReflect: kotlin.Boolean
/**
* Don't automatically include the Kotlin/JVM stdlib and Kotlin reflection into the classpath
* Default value: true
*/
@Deprecated(message = "This option has no effect and will be removed in a future release.", level = DeprecationLevel.ERROR)
var noStdlib: kotlin.Boolean
/**