Skip to content
Snippets Groups Projects
Commit f73fc598 authored by Robert Stone's avatar Robert Stone Committed by Nicolas Pomepuy
Browse files

Add compiler argument to support opt-in annotations

parent b125a8bf
No related branches found
No related tags found
1 merge request!1344Resolve coroutines compilation warnings
Pipeline #210989 passed with stage
in 21 minutes and 34 seconds
......@@ -28,6 +28,11 @@ allprojects {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
freeCompilerArgs += ['-opt-in=kotlin.RequiresOptIn']
}
}
}
ext {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment