Skip to content

Commit 7c56382

Browse files
committed
Description about adding the plugin
1 parent a39e5a2 commit 7c56382

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,30 @@ pluginManagement {
2626
}
2727
```
2828

29+
Use plugin in `build.gradle`:
30+
31+
```groovy
32+
plugins {
33+
id 'kotlinx.benchmark' version "0.2.0-dev-2"
34+
}
35+
```
36+
37+
Alternatively, you can use build script dependencies and "apply plugin" syntax:
38+
39+
```groovy
40+
buildscript {
41+
repositories {
42+
43+
maven { url 'https://dl.bintray.com/kotlin/kotlinx' }
44+
}
45+
dependencies {
46+
classpath "org.jetbrains.kotlinx:kotlinx.benchmark.gradle:0.2.0-dev-2"
47+
}
48+
}
49+
50+
apply plugin: 'kotlinx.benchmark'
51+
```
52+
2953
For Kotlin/JS specify building `nodejs` flavour:
3054

3155
```groovy

0 commit comments

Comments
 (0)