File tree 2 files changed +21
-16
lines changed
2 files changed +21
-16
lines changed Original file line number Diff line number Diff line change 2
2
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
3
*/
4
4
5
- plugins {
6
- id " me.champeau.gradle.jmh " version " 0.4.4 "
7
- }
5
+ apply plugin : " net.ltgt.apt "
6
+ apply plugin : " com.github.johnrengelman.shadow "
7
+ apply plugin : " me.champeau.gradle.jmh "
8
8
9
9
repositories {
10
10
maven { url " http://repo.typesafe.com/typesafe/releases/" }
11
11
}
12
12
13
- dependencies {
14
- jmh ' com.typesafe.akka:akka-actor_2.12:2.5.0'
15
- jmh project(' :kotlinx-coroutines-core-common' )
16
- jmh project(' :kotlinx-coroutines-core' )
17
- jmh project(' :kotlinx-coroutines-core' ). sourceSets. test. output
18
- }
19
-
20
- jmh. jmhVersion = ' 1.19'
13
+ jmh. jmhVersion = ' 1.21'
21
14
22
- jmhJar. archiveName = ' benchmarks.jar'
15
+ jmhJar {
16
+ baseName ' benchmarks'
17
+ classifier = null
18
+ version = null
19
+ }
23
20
24
- // jmh {
25
- // include = ['.*Channel.*Benchmark']
26
- // exclude = ['.*Guice.*', '.*PingPong.*']
27
- // }
21
+ dependencies {
22
+ compile ' com.typesafe.akka:akka-actor_2.12:2.5.0'
23
+ compile project(' :kotlinx-coroutines-core-common' )
24
+ compile project(' :kotlinx-coroutines-core' )
25
+ compile project(' :kotlinx-coroutines-core' ). sourceSets. test. output
26
+ compile " org.openjdk.jmh:jmh-core:1.21"
27
+ }
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ buildscript {
36
36
classpath " org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicFU_version "
37
37
classpath " com.jfrog.bintray.gradle:gradle-bintray-plugin:$bintray_version "
38
38
classpath " com.moowork.gradle:gradle-node-plugin:$gradle_node_version "
39
+
40
+ // JMH plugins
41
+ classpath " com.github.jengelman.gradle.plugins:shadow:2.0.2"
42
+ classpath " me.champeau.gradle:jmh-gradle-plugin:0.4.7"
43
+ classpath " net.ltgt.gradle:gradle-apt-plugin:0.10"
39
44
}
40
45
}
41
46
You can’t perform that action at this time.
0 commit comments