From e1da0ed798c4fcd0003f6096300c50be4d815bd0 Mon Sep 17 00:00:00 2001 From: James Ward Date: Fri, 5 Aug 2016 13:55:39 -0600 Subject: [PATCH] set jmh dep and srcdir --- build.gradle | 10 ++++++++++ understandingcollections/build.gradle | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/build.gradle b/build.gradle index 462ac6bb..2885564b 100644 --- a/build.gradle +++ b/build.gradle @@ -141,6 +141,15 @@ subprojects { srcDir projectDir } } + jmh { + java { + srcDir projectDir + } + } + } + + jmh { + jmhVersion = '1.12' } List createdTasks = [] @@ -214,6 +223,7 @@ subprojects { configure(subprojects - project(':onjava')) { dependencies { compile project(':onjava') + compile 'org.openjdk.jmh:jmh-core:1.12' } } diff --git a/understandingcollections/build.gradle b/understandingcollections/build.gradle index 3f51fbe8..1db84bc1 100644 --- a/understandingcollections/build.gradle +++ b/understandingcollections/build.gradle @@ -2,3 +2,7 @@ dependencies { compile project(':typeinfo') compile project(':collections') } + +jmh { + include = 'understandingcollections.jmhtests.*' +}