Skip to content

Commit

Permalink
Upgrade Kotlin to 1.7.0
Browse files Browse the repository at this point in the history
Resolves:
#233
  • Loading branch information
joffrey-bion committed Jun 10, 2022
1 parent a5efac8 commit 14b5e40
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 209 deletions.
7 changes: 1 addition & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
val kotlinVersion = "1.6.21" // also update in buildSrc/build.gradle.kts
val kotlinVersion = "1.7.0" // also update in buildSrc/build.gradle.kts
kotlin("jvm") apply false
kotlin("js") apply false
kotlin("multiplatform") apply false
Expand Down Expand Up @@ -40,11 +40,6 @@ nexusPublishing {
}

subprojects {

tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions.freeCompilerArgs += listOf("-opt-in=kotlin.RequiresOptIn")
}

tasks.withType<AbstractTestTask> {
testLogging {
events("failed", "standardOut", "standardError")
Expand Down
5 changes: 2 additions & 3 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ dependencies {
implementation(gradleApi())
implementation(gradleKotlinDsl())

val kotlinVersion = "1.6.21"
implementation(kotlin("gradle-plugin", kotlinVersion))
implementation("org.jetbrains.dokka:dokka-gradle-plugin:$kotlinVersion")
implementation(kotlin("gradle-plugin", "1.7.0"))
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.6.21")
}

gradlePlugin {
Expand Down
Loading

0 comments on commit 14b5e40

Please sign in to comment.