diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 34deef5ed..8445d4d16 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -20,8 +20,8 @@ repositories { kotlin { sourceSets.all { - languageSettings.useExperimentalAnnotation("kotlin.Experimental") - languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn") + languageSettings.optIn("kotlin.Experimental") + languageSettings.optIn("kotlin.RequiresOptIn") } }