Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.betomorrow.appcenter") version "1.1.10"
}

Using legacy plugin application:

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

apply(plugin = "com.betomorrow.appcenter")

Using the plugins DSL:

plugins {
  id "com.betomorrow.appcenter" version "1.1.10"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.betomorrow.gradle:appcenter-plugin:1.1.10"
  }
}

apply plugin: "com.betomorrow.appcenter"

Learn how to apply plugins to subprojects