Skip to content

Commit e1da0ed

Browse files
committed
set jmh dep and srcdir
1 parent 7b93ad9 commit e1da0ed

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ subprojects {
141141
srcDir projectDir
142142
}
143143
}
144+
jmh {
145+
java {
146+
srcDir projectDir
147+
}
148+
}
149+
}
150+
151+
jmh {
152+
jmhVersion = '1.12'
144153
}
145154

146155
List createdTasks = []
@@ -214,6 +223,7 @@ subprojects {
214223
configure(subprojects - project(':onjava')) {
215224
dependencies {
216225
compile project(':onjava')
226+
compile 'org.openjdk.jmh:jmh-core:1.12'
217227
}
218228
}
219229

understandingcollections/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ dependencies {
22
compile project(':typeinfo')
33
compile project(':collections')
44
}
5+
6+
jmh {
7+
include = 'understandingcollections.jmhtests.*'
8+
}

0 commit comments

Comments
 (0)