summaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index d7972105..a28ff9d5 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,7 +1,7 @@
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
- val kotlinVersion = "1.3.72"
+ val kotlinVersion = "1.4.0"
kotlin("js") version kotlinVersion apply false
kotlin("jvm") version kotlinVersion apply false
kotlin("multiplatform") version kotlinVersion apply false
@@ -20,6 +20,7 @@ subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
ktlint {
+ version.set("0.38.0-alpha01")
disabledRules.set(setOf("no-wildcard-imports"))
}
@@ -33,6 +34,10 @@ subprojects {
kotlinOptions.freeCompilerArgs = compilerArgs
}
+ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompileCommon> {
+ kotlinOptions.freeCompilerArgs = compilerArgs
+ }
+
tasks.withType<AbstractTestTask> {
testLogging {
events(TestLogEvent.FAILED, TestLogEvent.STANDARD_ERROR)
bgstack15