Browse Source

Add compiler argument to support opt-in annotations

merge-requests/1454/head
Robert Stone 4 years ago
committed by Nicolas Pomepuy
parent
commit
f73fc59823
  1. 5
      build.gradle

5
build.gradle

@ -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 {

Loading…
Cancel
Save