Skip to content

Commit

Permalink
Promote the library version to 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
qurbonzoda committed Jun 24, 2022
1 parent 5a9129d commit b84153b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/java/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath "org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.4.2"
classpath "org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.4.3"
}
}

Expand Down
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 @@ plugins {
java
kotlin("jvm")
kotlin("plugin.allopen") version "1.6.20"
id("org.jetbrains.kotlinx.benchmark") version "0.4.2"
id("org.jetbrains.kotlinx.benchmark") version "0.4.3"
}

sourceSets.all {
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 org.jetbrains.kotlin.konan.target.KonanTarget
plugins {
id 'org.jetbrains.kotlin.multiplatform'
id 'org.jetbrains.kotlin.plugin.allopen' version "1.6.20"
id 'org.jetbrains.kotlinx.benchmark' version "0.4.2"
id 'org.jetbrains.kotlinx.benchmark' version "0.4.3"
}

// how to apply plugin to a specific source set?
Expand Down
2 changes: 1 addition & 1 deletion examples/kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.kotlin.plugin.allopen' version "1.6.20"
id 'org.jetbrains.kotlinx.benchmark' version '0.4.2'
id 'org.jetbrains.kotlinx.benchmark' version '0.4.3'
}


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

kotlin_version=1.6.20
jmhVersion=1.21
Expand Down
2 changes: 1 addition & 1 deletion plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=org.jetbrains.kotlinx
version=0.4.2
version=0.4.3

kotlin_version=1.6.20
jmhVersion=1.21
Expand Down
6 changes: 3 additions & 3 deletions plugin/main/src/kotlinx/benchmark/gradle/BenchmarksPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.jetbrains.kotlin.gradle.plugin.*
class BenchmarksPlugin : Plugin<Project> {
companion object {
const val PLUGIN_ID = "org.jetbrains.kotlinx.benchmark"
const val PLUGIN_VERSION = "0.4.2"
const val PLUGIN_VERSION = "0.4.3"

const val BENCHMARKS_TASK_GROUP = "benchmark"
const val BENCHMARK_EXTENSION_NAME = "benchmark"
Expand Down Expand Up @@ -39,8 +39,8 @@ class BenchmarksPlugin : Plugin<Project> {
if (kotlinClass != null) {
plugins.findPlugin(kotlinClass)?.run {
logger.info("Detected Kotlin plugin version '${project.getKotlinPluginVersion()}'")
if (VersionNumber.parse(project.getKotlinPluginVersion()) < VersionNumber(1, 6, 0, null))
logger.error("JetBrains Gradle Benchmarks plugin requires Kotlin version 1.6.0 or higher")
if (VersionNumber.parse(project.getKotlinPluginVersion()) < VersionNumber(1, 7, 0, null))
logger.error("JetBrains Gradle Benchmarks plugin requires Kotlin version 1.7.0 or higher")
}
}

Expand Down

0 comments on commit b84153b

Please sign in to comment.