Search Gradle plugins

Using the plugins DSL:

plugins {
  id("pub.ihub.plugin.ihub-publish") version "1.4.0-JAVA8"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "pub.ihub.plugin.ihub-publish" version "1.4.0-JAVA8"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects