Skip to content

Commit ddf53bf

Browse files
author
Abduqodiri Qurbonzoda
committed
Add note about kotlin 1.5.0 workaround
1 parent f8bace6 commit ddf53bf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@
55
[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v?label=Gradle%20Plugin&metadataUrl=https://plugins.gradle.org/m2/org/jetbrains/kotlinx/kotlinx-benchmark-plugin/maven-metadata.xml)](https://plugins.gradle.org/plugin/org.jetbrains.kotlinx.benchmark)
66

77

8-
> **_NOTE:_**   The latest version of the library changes how the plugin and runtime library dependencies are declared:
8+
> **_NOTE:_**   Starting from version 0.3.0 of the library:
99
> * The library runtime is published to Maven Central and no longer published to Bintray.
1010
> * The Gradle plugin is published to Gradle Plugin Portal
1111
> * The Gradle plugin id has changed to `org.jetbrains.kotlinx.benchmark`
1212
> * The library runtime artifact id has changed to `kotlinx-benchmark-runtime`
1313
14+
> **_NOTE:_**   When Kotlin 1.5.0 or newer is used make sure the `kotlin-gradle-plugin` is pulled from Maven Central,
15+
> not Gradle Plugin Portal. For more information: https://github.com/Kotlin/kotlinx-benchmark/issues/42
16+
1417

1518
**kotlinx.benchmark** is a toolkit for running benchmarks for multiplatform code written in Kotlin
1619
and running on the next supported targets: JVM, JavaScript.

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
repositories {
33
maven { url 'https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/maven' }
4+
mavenCentral()
45
gradlePluginPortal()
56
}
67

0 commit comments

Comments
 (0)