Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
#13: added support for Gradle JMH plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tlinkowski committed Dec 31, 2018
1 parent 98d7918 commit 36553fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
plugins {
// https://github.com/ben-manes/gradle-versions-plugin
id "com.github.ben-manes.versions" version "0.20.0"

// https://github.com/melix/jmh-gradle-plugin
id "me.champeau.gradle.jmh" version "0.4.7" apply false
}

wrapper {
Expand All @@ -31,6 +34,7 @@ subprojects {

apply plugin: "java"
apply plugin: "groovy"
apply plugin: "me.champeau.gradle.jmh"

apply from: "$rootDir/gradle/configure-compile-tasks.gradle"

Expand Down
1 change: 1 addition & 0 deletions gradle/configure-compile-tasks.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ def setJavacReleaseOption = { JavaCompile task, String releaseArg ->
ext.javaRelease = { String mainReleaseArg ->
setJavacReleaseOption(compileJava, mainReleaseArg)
setJavacReleaseOption(compileTestJava, "11")
setJavacReleaseOption(compileJmhJava, "11")
}

0 comments on commit 36553fb

Please sign in to comment.