Search Gradle plugins

Using the plugins DSL:

plugins {
  id "pub.ihub.plugin.ihub-bom" version "1.1.4"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("pub.ihub.plugin.ihub-bom") version "1.1.4"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects