mirror of https://github.com/grpc/grpc-java.git
benchmark: clean up jmh plugin configurations (#6803)
Bump jmh plugin to version 0.5.0. Put junit and mockito to test dependency. Eliminated jmh plugin config workaround for the known issue in previous version.
This commit is contained in:
parent
5ba663bcf6
commit
f85843bb88
|
@ -14,9 +14,6 @@ run.enabled = false
|
||||||
|
|
||||||
jmh {
|
jmh {
|
||||||
jvmArgs = "-server -Xms2g -Xmx2g"
|
jvmArgs = "-server -Xms2g -Xmx2g"
|
||||||
// Workaround
|
|
||||||
// https://github.com/melix/jmh-gradle-plugin/issues/97#issuecomment-316664026
|
|
||||||
includeTests = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
@ -30,14 +27,15 @@ dependencies {
|
||||||
project(':grpc-stub'),
|
project(':grpc-stub'),
|
||||||
project(':grpc-protobuf'),
|
project(':grpc-protobuf'),
|
||||||
project(':grpc-testing'),
|
project(':grpc-testing'),
|
||||||
libraries.junit,
|
|
||||||
libraries.mockito,
|
|
||||||
libraries.hdrhistogram,
|
libraries.hdrhistogram,
|
||||||
libraries.netty_tcnative,
|
libraries.netty_tcnative,
|
||||||
libraries.netty_epoll,
|
libraries.netty_epoll,
|
||||||
libraries.math
|
libraries.math
|
||||||
compileOnly libraries.javax_annotation
|
compileOnly libraries.javax_annotation
|
||||||
alpnagent libraries.jetty_alpn_agent
|
alpnagent libraries.jetty_alpn_agent
|
||||||
|
|
||||||
|
testCompile libraries.junit,
|
||||||
|
libraries.mockito
|
||||||
}
|
}
|
||||||
|
|
||||||
import net.ltgt.gradle.errorprone.CheckSeverity
|
import net.ltgt.gradle.errorprone.CheckSeverity
|
||||||
|
|
|
@ -7,7 +7,7 @@ pluginManagement {
|
||||||
id "com.google.protobuf" version "0.8.8"
|
id "com.google.protobuf" version "0.8.8"
|
||||||
id "digital.wup.android-maven-publish" version "3.6.2"
|
id "digital.wup.android-maven-publish" version "3.6.2"
|
||||||
id "me.champeau.gradle.japicmp" version "0.2.5"
|
id "me.champeau.gradle.japicmp" version "0.2.5"
|
||||||
id "me.champeau.gradle.jmh" version "0.4.5"
|
id "me.champeau.gradle.jmh" version "0.5.0"
|
||||||
id "net.ltgt.errorprone" version "0.8.1"
|
id "net.ltgt.errorprone" version "0.8.1"
|
||||||
id "ru.vyarus.animalsniffer" version "1.5.0"
|
id "ru.vyarus.animalsniffer" version "1.5.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue