Migrate build scripts to optIn

This commit is contained in:
Him188 2022-04-17 14:18:58 +01:00
parent cc3d645d4c
commit 285cf785d8

View File

@ -20,8 +20,8 @@ repositories {
kotlin {
sourceSets.all {
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
languageSettings.optIn("kotlin.Experimental")
languageSettings.optIn("kotlin.RequiresOptIn")
}
}