Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.cryptenet.android.settings-patcher") version "1.0.12-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.cryptenet.android:android-settings-patcher-plugin:1.0.12-SNAPSHOT")
  }
}

apply(plugin = "com.cryptenet.android.settings-patcher")

Using the plugins DSL:

plugins {
  id "com.cryptenet.android.settings-patcher" version "1.0.12-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.cryptenet.android:android-settings-patcher-plugin:1.0.12-SNAPSHOT"
  }
}

apply plugin: "com.cryptenet.android.settings-patcher"

Learn how to apply plugins to subprojects