Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects