Merge pull request #17 from BruceEckel/jmh

set jmh dep and srcdir
This commit is contained in:
Bruce Eckel 2016-08-05 14:16:27 -06:00 committed by GitHub
commit fb2eb28e61
2 changed files with 14 additions and 0 deletions

View File

@ -141,6 +141,15 @@ subprojects {
srcDir projectDir srcDir projectDir
} }
} }
jmh {
java {
srcDir projectDir
}
}
}
jmh {
jmhVersion = '1.12'
} }
List createdTasks = [] List createdTasks = []
@ -214,6 +223,7 @@ subprojects {
configure(subprojects - project(':onjava')) { configure(subprojects - project(':onjava')) {
dependencies { dependencies {
compile project(':onjava') compile project(':onjava')
compile 'org.openjdk.jmh:jmh-core:1.12'
} }
} }

View File

@ -2,3 +2,7 @@ dependencies {
compile project(':typeinfo') compile project(':typeinfo')
compile project(':collections') compile project(':collections')
} }
jmh {
include = 'understandingcollections.jmhtests.*'
}