Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.emergetools.android") version "4.0.0-beta03"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.emergetools:plugin:4.0.0-beta03")
  }
}

apply(plugin = "com.emergetools.android")

Using the plugins DSL:

plugins {
  id "com.emergetools.android" version "4.0.0-beta03"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.emergetools:plugin:4.0.0-beta03"
  }
}

apply plugin: "com.emergetools.android"

Learn how to apply plugins to subprojects