[
https://issues.apache.org/jira/browse/KAFKA-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407054#comment-15407054
]
Bill Bejeck edited comment on KAFKA-3989 at 8/4/16 3:03 AM:
------------------------------------------------------------
I opted to try the gradle shadow plugin first
(https://github.com/johnrengelman/shadow/)
I've been able to get JMH working as a sub-module but needed to make the
following changes to the build.gradle script:
dependencies {
.........
// Added this entry for gradle shadow plugin
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3' //
}
Then added this to apply plugin the jmh-benchmarks module:
project(':jmh-benchmarks') {
apply plugin: 'com.github.johnrengelman.shadow'
}
Is this acceptable ?
was (Author: bbejeck):
I opted to try the gradle shadow plugin first
(https://github.com/johnrengelman/shadow/)
I've been able to get JMH working as a sub-module but needed to make the
following changes to the build.gradle script:
`dependencies {
.........
// Added this entry for gradle shadow plugin
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3' //
}
`
Then added this to apply plugin the jmh-benchmarks module:
project(':jmh-benchmarks') {
apply plugin: 'com.github.johnrengelman.shadow'
}
Is this acceptable ?
> Add JMH module for Benchmarks
> -----------------------------
>
> Key: KAFKA-3989
> URL: https://issues.apache.org/jira/browse/KAFKA-3989
> Project: Kafka
> Issue Type: Improvement
> Reporter: Bill Bejeck
> Assignee: Bill Bejeck
>
> JMH is a Java harness for building, running, and analyzing benchmarks written
> in Java or JVM languages. To run properly JMH needs to be in it's own
> module. This task will also investigate using the jmh -gradle pluging
> [https://github.com/melix/jmh-gradle-plugin] which enables the use of JMH
> from gradle. This is related to
> [https://issues.apache.org/jira/browse/KAFKA-3973]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)