[Gradle] Rename experimental annotations to opt-in annotations in DSL

Methods and accessors with old names are preserved in public API and marked as deprecated now
#KT-38111 In Progress
This commit is contained in:
Alexander Likhachev
2021-07-14 10:57:07 +03:00
parent d9701d57bb
commit fa68dbc736
11 changed files with 64 additions and 21 deletions
@@ -18,7 +18,10 @@ interface LanguageSettingsBuilder : LanguageSettings {
override val enabledLanguageFeatures: Set<String>
@Deprecated("Unsupported and will be removed in next major releases", replaceWith = ReplaceWith("optInAnnotation(name)"))
fun useExperimentalAnnotation(name: String)
fun optInAnnotation(name: String)
override val experimentalAnnotationsInUse: Set<String>
}