Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.stoyicker.android-check") version "2.185"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.stoyicker.android-check:plugin:2.185")
  }
}

apply(plugin = "org.stoyicker.android-check")

Using the plugins DSL:

plugins {
  id "org.stoyicker.android-check" version "2.185"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.stoyicker.android-check:plugin:2.185"
  }
}

apply plugin: "org.stoyicker.android-check"

Learn how to apply plugins to subprojects