https://kotlinlang.org logo
#eap
Title
# eap
c

christophsturm

06/05/2020, 9:02 AM
is there a way to enable the explicit api mode only for the main source set and not the test source set?
found it.
Copy code
val compileKotlin: KotlinCompile by tasks
    compileKotlin.kotlinOptions.freeCompilerArgs =listOf( "-Xexplicit-api=strict")
e

elizarov

06/05/2020, 1:09 PM
It should be enabled for the main source set only by default
👍 1