Skip to content

Commit 0f722c0

Browse files
author
Abduqodiri Qurbonzoda
committed
Upgrade Kotlin version to 1.6.0
1 parent af10a08 commit 0f722c0

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ the hoods to run benchmarks on JVM.
2525

2626
Gradle 6.8 or newer
2727

28-
Kotlin 1.5.30 or newer
28+
Kotlin 1.6.0 or newer
2929

3030
# Gradle plugin
3131

examples/kotlin-kts/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import org.jetbrains.kotlin.gradle.tasks.*
77
plugins {
88
java
99
kotlin("jvm")
10-
kotlin("plugin.allopen") version "1.5.30"
10+
kotlin("plugin.allopen") version "1.6.0"
1111
id("org.jetbrains.kotlinx.benchmark") version "0.4.0"
1212
}
1313

examples/kotlin-multiplatform/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'org.jetbrains.kotlin.multiplatform'
3-
id 'org.jetbrains.kotlin.plugin.allopen' version "1.5.30"
3+
id 'org.jetbrains.kotlin.plugin.allopen' version "1.6.0"
44
id 'org.jetbrains.kotlinx.benchmark' version "0.4.0"
55
}
66

examples/kotlin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id 'java'
33
id 'org.jetbrains.kotlin.jvm'
4-
id 'org.jetbrains.kotlin.plugin.allopen' version "1.5.30"
4+
id 'org.jetbrains.kotlin.plugin.allopen' version "1.6.0"
55
id 'org.jetbrains.kotlinx.benchmark' version '0.4.0'
66
}
77

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ group = org.jetbrains.kotlinx
33
version = 0.4.0
44

55
kotlin.code.style=official
6-
kotlin_version=1.5.30
6+
kotlin_version=1.6.0
77
jmhVersion=1.21
88
junit_version=4.12
99

plugin/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kotlin.code.style=official
44
version = 0.4.0
55
group = org.jetbrains.kotlinx
66

7-
kotlin_version=1.5.30
7+
kotlin_version=1.6.0
88
jmhVersion=1.21
99
junit_version=4.12
1010
infra_version=0.3.0-dev-64

plugin/main/src/kotlinx/benchmark/gradle/BenchmarksPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class BenchmarksPlugin : Plugin<Project> {
3939
if (kotlinClass != null) {
4040
plugins.findPlugin(kotlinClass)?.run {
4141
logger.info("Detected Kotlin plugin version '${project.getKotlinPluginVersion()}'")
42-
if (VersionNumber.parse(project.getKotlinPluginVersion()) < VersionNumber(1, 5, 30, null))
43-
logger.error("JetBrains Gradle Benchmarks plugin requires Kotlin version 1.5.30 or higher")
42+
if (VersionNumber.parse(project.getKotlinPluginVersion()) < VersionNumber(1, 6, 0, null))
43+
logger.error("JetBrains Gradle Benchmarks plugin requires Kotlin version 1.6.0 or higher")
4444
}
4545
}
4646

0 commit comments

Comments
 (0)