diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-08-20 16:05:20 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-08-31 15:47:51 +0200 |
commit | df83c7cb14ee46d73743c1fd053d47a9b0e79e2a (patch) | |
tree | 84d73d348f05892248f7d531c49fb1a0f276dba1 /build.gradle.kts | |
parent | Upgrade ktlint and re-enable import order check (diff) | |
download | seven-wonders-df83c7cb14ee46d73743c1fd053d47a9b0e79e2a.tar.gz seven-wonders-df83c7cb14ee46d73743c1fd053d47a9b0e79e2a.tar.bz2 seven-wonders-df83c7cb14ee46d73743c1fd053d47a9b0e79e2a.zip |
Upgrade to Kotlin 1.4 and corresponding library versions
- Kotlinx Serialization 1.0.0-RC
- Coroutines 1.3.9
- Krossbow 0.30.1
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 7 |
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) |