Search Gradle plugins

Using the plugins DSL:

plugins {
  id("pub.ihub.plugin.ihub-native") version "1.3.2-m3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "pub.ihub.plugin.ihub-native" version "1.3.2-m3"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects