Add '-opt-in' option into Gradle compiler options DSL
^KT-53924 Fixed
This commit is contained in:
committed by
Space Team
parent
2b4abb0c7b
commit
174f39aa46
+4
@@ -107,6 +107,10 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
|
||||
field = value
|
||||
}
|
||||
|
||||
@GradleOption(
|
||||
value = DefaultValue.EMPTY_STRING_ARRAY_DEFAULT,
|
||||
gradleInputType = GradleInputTypes.INPUT
|
||||
)
|
||||
@Argument(
|
||||
value = "-opt-in",
|
||||
deprecatedName = "-Xopt-in",
|
||||
|
||||
@@ -35,6 +35,7 @@ enum class DefaultValue {
|
||||
BOOLEAN_TRUE_DEFAULT,
|
||||
STRING_NULL_DEFAULT,
|
||||
EMPTY_STRING_LIST_DEFAULT,
|
||||
EMPTY_STRING_ARRAY_DEFAULT,
|
||||
LANGUAGE_VERSIONS,
|
||||
API_VERSIONS,
|
||||
JVM_TARGET_VERSIONS,
|
||||
|
||||
Reference in New Issue
Block a user