Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.ia.sdk.modl") version "0.3.0"
}

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.3.0")
  }
}

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

Using the plugins DSL:

plugins {
  id "io.ia.sdk.modl" version "0.3.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects