Search Gradle plugins

Using the plugins DSL:

plugins {
  id("net.foragerr.jmeter") version "1.0.10-3.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.net.foragerr.jmeter:jmeter-gradle-plugin:1.0.10-3.3")
  }
}

apply(plugin = "net.foragerr.jmeter")

Using the plugins DSL:

plugins {
  id "net.foragerr.jmeter" version "1.0.10-3.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.net.foragerr.jmeter:jmeter-gradle-plugin:1.0.10-3.3"
  }
}

apply plugin: "net.foragerr.jmeter"

Learn how to apply plugins to subprojects