Skip to content

Commit

Permalink
Migrate the compilerOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWoitaschek committed Jul 17, 2024
1 parent d11d339 commit a6ca430
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions buildSrc/src/main/kotlin/aoc-base.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ dependencies {

tasks {
withType<KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs += listOf(
"-opt-in=kotlin.RequiresOptIn",
"-opt-in=kotlin.ExperimentalStdlibApi",
)
compilerOptions {
optIn.add("kotlin.ExperimentalStdlibApi")
}
}
withType<Test>().configureEach {
useJUnitPlatform()
Expand Down

0 comments on commit a6ca430

Please sign in to comment.