Do not blank opt in for allowing kotlin package in all subprojects

-Xallow-kotlin-package must be specified explicitly to prevent
unintended declarations in kotlin package.
This commit is contained in:
Ilya Gorbunov
2019-10-11 06:01:42 +03:00
parent 5c9cbf7e77
commit 59482f6827
11 changed files with 40 additions and 4 deletions
@@ -27,6 +27,10 @@ sourceSets {
"test" { projectDefault() }
}
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package"
}
projectTest(parallel = true)
projectTest(taskName = "embeddableTest", parallel = true) {