Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.auth0.gradle.oss-library.android") version "0.18.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.auth0.gradle:oss-library:0.18.0")
  }
}

apply(plugin = "com.auth0.gradle.oss-library.android")

Using the plugins DSL:

plugins {
  id "com.auth0.gradle.oss-library.android" version "0.18.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.auth0.gradle:oss-library:0.18.0"
  }
}

apply plugin: "com.auth0.gradle.oss-library.android"

Learn how to apply plugins to subprojects