Search Gradle plugins

Using the plugins DSL:

plugins {
  id("ru.kode.android.build-publish") version "1.3.0-alpha03"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ru.kode.android:plugin:1.3.0-alpha03")
  }
}

apply(plugin = "ru.kode.android.build-publish")

Using the plugins DSL:

plugins {
  id "ru.kode.android.build-publish" version "1.3.0-alpha03"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ru.kode.android:plugin:1.3.0-alpha03"
  }
}

apply plugin: "ru.kode.android.build-publish"

Learn how to apply plugins to subprojects