Search Gradle plugins

Using the plugins DSL:

plugins {
  id "me.yamlee.apkrelease" version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.me.yamlee:apk-release-plugin:0.3.0"
  }
}

apply plugin: "me.yamlee.apkrelease"

Using the plugins DSL:

plugins {
  id("me.yamlee.apkrelease") version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.me.yamlee:apk-release-plugin:0.3.0")
  }
}

apply(plugin = "me.yamlee.apkrelease")

Learn how to apply plugins to subprojects