Skip to content

Commit

Permalink
Use -opt-in instead of deprecated -Xopt-in
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Apr 6, 2022
1 parent 8654931 commit 230a5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-logic/src/main/kotlin/module.gradle.kts
Expand Up @@ -92,7 +92,7 @@ tasks.withType<KotlinCompile>().configureEach {
freeCompilerArgs = listOf(
"-progressive",
"-Xsuppress-version-warnings",
"-Xopt-in=kotlin.RequiresOptIn"
"-opt-in=kotlin.RequiresOptIn"
)
// Usage: <code>./gradlew build -PwarningsAsErrors=true</code>.
// Note: currently there are warnings for detekt-gradle-plugin that seemingly can't be fixed
Expand Down

0 comments on commit 230a5fe

Please sign in to comment.