Skip to content

Commit

Permalink
Advance Kotlin version to 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qurbonzoda committed Aug 3, 2023
1 parent 43b8340 commit acdd092
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/kotlin-kts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.jetbrains.kotlin.gradle.tasks.*
plugins {
java
kotlin("jvm")
kotlin("plugin.allopen") version "1.8.21"
kotlin("plugin.allopen") version "1.9.0"
id("org.jetbrains.kotlinx.benchmark")
}

Expand Down
2 changes: 1 addition & 1 deletion examples/kotlin-multiplatform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import kotlinx.benchmark.gradle.JsBenchmarksExecutor

plugins {
id 'org.jetbrains.kotlin.multiplatform'
id 'org.jetbrains.kotlin.plugin.allopen' version "1.8.21"
id 'org.jetbrains.kotlin.plugin.allopen' version "1.9.0"
id 'org.jetbrains.kotlinx.benchmark'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/kotlin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.kotlin.plugin.allopen' version "1.8.21"
id 'org.jetbrains.kotlin.plugin.allopen' version "1.9.0"
id 'org.jetbrains.kotlinx.benchmark'
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group=org.jetbrains.kotlinx
version=0.5.0-SNAPSHOT

kotlin_version=1.8.21
kotlin_version=1.9.0
jmhVersion=1.21
infra_version=0.3.0-dev-73
kotlin.code.style=official
Expand Down
2 changes: 1 addition & 1 deletion plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group=org.jetbrains.kotlinx
version=0.5.0-SNAPSHOT

kotlin_version=1.8.21
kotlin_version=1.9.0
jmhVersion=1.21
infra_version=0.3.0-dev-73

Expand Down
4 changes: 2 additions & 2 deletions plugin/main/src/kotlinx/benchmark/gradle/BenchmarksPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class BenchmarksPlugin : Plugin<Project> {

plugins.withType(org.jetbrains.kotlin.gradle.plugin.KotlinBasePlugin::class.java) { kotlinPlugin ->
logger.info("Detected Kotlin plugin version '${kotlinPlugin.pluginVersion}'")
if (!getKotlinVersion(kotlinPlugin.pluginVersion).isAtLeast(1, 7, 20)) {
logger.error("JetBrains Gradle Benchmarks plugin requires Kotlin version 1.7.20 or higher")
if (!getKotlinVersion(kotlinPlugin.pluginVersion).isAtLeast(1, 9, 0)) {
logger.error("JetBrains Gradle Benchmarks plugin requires Kotlin version 1.9.0 or higher")
}
}

Expand Down

0 comments on commit acdd092

Please sign in to comment.