Search Gradle plugins

Using the plugins DSL:

plugins {
  id("pub.ihub.plugin.ihub-base-test") version "1.6.5-rc1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("pub.ihub.plugin:ihub-base-test:1.6.5-rc1")
  }
}

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

Using the plugins DSL:

plugins {
  id "pub.ihub.plugin.ihub-base-test" version "1.6.5-rc1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "pub.ihub.plugin:ihub-base-test:1.6.5-rc1"
  }
}

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

Learn how to apply plugins to subprojects