From 363a322bc3664daa1f8fa8fc940df042014d55cf Mon Sep 17 00:00:00 2001 From: Abduqodiri Qurbonzoda Date: Thu, 23 Jun 2022 13:39:23 +0300 Subject: [PATCH] Promote the library version to 0.4.3 --- examples/java/build.gradle | 2 +- examples/kotlin-kts/build.gradle.kts | 2 +- examples/kotlin-multiplatform/build.gradle | 2 +- examples/kotlin/build.gradle | 2 +- gradle.properties | 2 +- plugin/gradle.properties | 2 +- .../main/src/kotlinx/benchmark/gradle/BenchmarksPlugin.kt | 6 +++--- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/java/build.gradle b/examples/java/build.gradle index 07b0fb52..7ea44e7d 100644 --- a/examples/java/build.gradle +++ b/examples/java/build.gradle @@ -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" } } diff --git a/examples/kotlin-kts/build.gradle.kts b/examples/kotlin-kts/build.gradle.kts index dfc30455..7aab2d2c 100644 --- a/examples/kotlin-kts/build.gradle.kts +++ b/examples/kotlin-kts/build.gradle.kts @@ -9,7 +9,7 @@ plugins { java kotlin("jvm") kotlin("plugin.allopen") version "1.7.0" - id("org.jetbrains.kotlinx.benchmark") version "0.4.2" + id("org.jetbrains.kotlinx.benchmark") version "0.4.3" } sourceSets.all { diff --git a/examples/kotlin-multiplatform/build.gradle b/examples/kotlin-multiplatform/build.gradle index 8dd5acbe..bec0d7dd 100644 --- a/examples/kotlin-multiplatform/build.gradle +++ b/examples/kotlin-multiplatform/build.gradle @@ -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.7.0" - 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? diff --git a/examples/kotlin/build.gradle b/examples/kotlin/build.gradle index e1342217..362b3f8d 100644 --- a/examples/kotlin/build.gradle +++ b/examples/kotlin/build.gradle @@ -2,7 +2,7 @@ plugins { id 'java' id 'org.jetbrains.kotlin.jvm' id 'org.jetbrains.kotlin.plugin.allopen' version "1.7.0" - id 'org.jetbrains.kotlinx.benchmark' version '0.4.2' + id 'org.jetbrains.kotlinx.benchmark' version '0.4.3' } diff --git a/gradle.properties b/gradle.properties index f90c4dd4..93712da3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=org.jetbrains.kotlinx -version=0.4.2 +version=0.4.3 kotlin_version=1.7.0 jmhVersion=1.21 diff --git a/plugin/gradle.properties b/plugin/gradle.properties index 87fd83e9..1346c7fd 100644 --- a/plugin/gradle.properties +++ b/plugin/gradle.properties @@ -1,5 +1,5 @@ group=org.jetbrains.kotlinx -version=0.4.2 +version=0.4.3 kotlin_version=1.7.0 jmhVersion=1.21 diff --git a/plugin/main/src/kotlinx/benchmark/gradle/BenchmarksPlugin.kt b/plugin/main/src/kotlinx/benchmark/gradle/BenchmarksPlugin.kt index 024a44ca..4766657a 100644 --- a/plugin/main/src/kotlinx/benchmark/gradle/BenchmarksPlugin.kt +++ b/plugin/main/src/kotlinx/benchmark/gradle/BenchmarksPlugin.kt @@ -8,7 +8,7 @@ import org.jetbrains.kotlin.gradle.plugin.* class BenchmarksPlugin : Plugin { 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" @@ -39,8 +39,8 @@ class BenchmarksPlugin : Plugin { 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") } }