https://kotlinlang.org logo
w

william

11/07/2020, 10:39 PM
is there a way for me to ignore experimental warnings for the entire project through the top level
build.gradle
?
w

william

11/08/2020, 2:55 AM
thank you!!!
this looks like a specific submodule unfortunately
a

Animesh Sahu

11/08/2020, 4:09 AM
tasks.withType<KotlinCompile> { kotlinOptions { freeCompilerArguments += listOf("-Xopt-in=kotlin.ExperimentalStdLib",...) } }
Will apply to all the tasks with KotlinCompile type
b

Big Chungus

11/08/2020, 11:23 AM
You can also apply that to all modules in allprojects lambda on root project
2 Views