is there a way to enable the explicit api mode onl...
# eap
c
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
It should be enabled for the main source set only by default
👍 1