From 0ffdd70fad8b187fee8dd15080df39cf7a0e8221 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Tue, 19 Jul 2022 14:42:37 +1000 Subject: [PATCH] Remove explicit RequiresOptIn option 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 9b34d930814..d466c2dca02 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)