From c07a81bebcd185b1666c23683712ec33a4a0edb7 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Tue, 19 Jul 2022 17:05:33 +1000 Subject: [PATCH] Remove explicit RequiresOptIn option (#5098) Opt-in requirements are stable as of Kotlin 1.7 and do not require additional compiler configuration. --- build-logic/src/main/kotlin/module.gradle.kts | 1 - 1 file changed, 1 deletion(-) diff --git a/build-logic/src/main/kotlin/module.gradle.kts b/build-logic/src/main/kotlin/module.gradle.kts index 9b34d930814c..d466c2dca02d 100644 --- a/build-logic/src/main/kotlin/module.gradle.kts +++ b/build-logic/src/main/kotlin/module.gradle.kts @@ -55,7 +55,6 @@ tasks.withType().configureEach { freeCompilerArgs = listOf( "-progressive", "-Xsuppress-version-warnings", - "-opt-in=kotlin.RequiresOptIn" ) // Note: Currently there are warnings for detekt-gradle-plugin that seemingly can't be fixed // until Gradle releases an update (https://github.com/gradle/gradle/issues/16345)