Search Gradle plugins

Using the plugins DSL:

plugins {
  id "io.ia.sdk.modl" version "0.1.0-SNAPSHOT-10"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.io.ia.sdk:gradle-module-plugin:0.1.0-SNAPSHOT-10"
  }
}

apply plugin: "io.ia.sdk.modl"

Using the plugins DSL:

plugins {
  id("io.ia.sdk.modl") version "0.1.0-SNAPSHOT-10"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.io.ia.sdk:gradle-module-plugin:0.1.0-SNAPSHOT-10")
  }
}

apply(plugin = "io.ia.sdk.modl")

Learn how to apply plugins to subprojects