Owner:
Cédric Champeau
Integrates the JMH microbenchmarking project into Gradle
Version 0.4.7
Created 13 July 2018.
Integrates the JMH microbenchmarking framework with Gradle, providing conventional ways to setup sources and execute micro-benchmarks with JMH. Also known as the jmh-gradle-plugin.
Add this plugin to your build using the plugins DSL:
plugins {
id("me.champeau.gradle.jmh") version "0.4.7"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("me.champeau.gradle.jmh:me.champeau.gradle.jmh.gradle.plugin:0.4.7") }It can then be applied in the precompiled script plugin:plugins { id("me.champeau.gradle.jmh") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("me.champeau.gradle.jmh:me.champeau.gradle.jmh.gradle.plugin:0.4.7") } } apply(plugin = "me.champeau.gradle.jmh") - Applying plugins to all subprojects .