Search Gradle plugins

Using the plugins DSL:

plugins {
  id("pub.ihub.plugin.ihub-test") version "1.4.0-JAVA11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("pub.ihub.plugin:ihub-verification:1.4.0-JAVA11")
  }
}

apply(plugin = "pub.ihub.plugin.ihub-test")

Using the plugins DSL:

plugins {
  id "pub.ihub.plugin.ihub-test" version "1.4.0-JAVA11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "pub.ihub.plugin:ihub-verification:1.4.0-JAVA11"
  }
}

apply plugin: "pub.ihub.plugin.ihub-test"

Learn how to apply plugins to subprojects