Search Gradle plugins

me.champeau.gradle.jmh

Integrates the JMH microbenchmarking project into Gradle

https://github.com/melix/jmh-gradle-plugin

Version 0.4.6

Created 04 June 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.6"
}

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.6")
    }
    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.6")
      }
    }
    
    apply(plugin = "me.champeau.gradle.jmh")
  • Applying plugins to all subprojects .