commit
d43d643bbd
163 changed files with 5058 additions and 5910 deletions
|
@ -1,4 +1,4 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
|
@ -26,8 +26,9 @@ tasks.register('clean', Delete) {
|
|||
delete getLayout().getBuildDirectory()
|
||||
}
|
||||
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
|
||||
|
||||
tasks.withType(KotlinJvmCompile).configureEach {
|
||||
compilerOptions {
|
||||
freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue