Support -Xuse-experimental in the new MPP languageSettings { ... } DSL
Add the corresponding Gradle plugin DSL, consistency checks, and logic for propagating these settings to the compiler during build. Issue #KT-26840 In Progress
This commit is contained in:
+4
@@ -15,4 +15,8 @@ interface LanguageSettingsBuilder {
|
||||
fun enableLanguageFeature(name: String)
|
||||
|
||||
val enabledLanguageFeatures: Set<String>
|
||||
|
||||
fun useExperimentalAnnotation(name: String)
|
||||
|
||||
val experimentalAnnotationsInUse: Set<String>
|
||||
}
|
||||
Reference in New Issue
Block a user