Join Slack
Powered by
is there a way for me to ignore experimental warni...
# announcements
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
?
b
Big Chungus
11/08/2020, 12:52 AM
https://gitlab.com/lt.petuska/hazelcast-explorer/-/blob/master/hazelcast-explorer/build.gradle.kts#L142
w
william
11/08/2020, 2:55 AM
thank you!!!
william
11/08/2020, 3:02 AM
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",...) } }
Animesh Sahu
11/08/2020, 4:10 AM
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
3
Views
Open in Slack
Previous
Next