Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects