File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,12 @@ compileKotlin {
4343 // https://github.com/tschuchortdev/kotlin-compile-testing/pull/63
4444 kotlinOptions. freeCompilerArgs + = [" -Xno-optimized-callable-references" ]
4545 kotlinOptions. freeCompilerArgs + = [" -Xskip-runtime-version-check" ]
46+ kotlinOptions. freeCompilerArgs + = [" -opt-in=org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi" ]
4647}
4748
4849compileTestKotlin {
4950 // https://github.com/tschuchortdev/kotlin-compile-testing/pull/63
5051 kotlinOptions. freeCompilerArgs + = [" -Xno-optimized-callable-references" ]
5152 kotlinOptions. freeCompilerArgs + = [" -Xskip-runtime-version-check" ]
53+ kotlinOptions. freeCompilerArgs + = [" -opt-in=org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi" ]
5254}
Original file line number Diff line number Diff line change @@ -7,3 +7,7 @@ dependencies {
77 api " com.google.devtools.ksp:symbol-processing-api:$ksp_version "
88 implementation " com.google.devtools.ksp:symbol-processing:$ksp_version "
99}
10+
11+ compileKotlin {
12+ kotlinOptions. freeCompilerArgs + = [" -opt-in=org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi" ]
13+ }
You can’t perform that action at this time.
0 commit comments