Search Gradle plugins

Using the plugins DSL:

plugins {
  id("pub.ihub.plugin.ihub-aware") version "1.0.11"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "pub.ihub.plugin.ihub-aware" version "1.0.11"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects