Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.github.triplet.play") version "3.8.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.triplet.gradle:play-publisher:3.8.6")
  }
}

apply(plugin = "com.github.triplet.play")

Using the plugins DSL:

plugins {
  id "com.github.triplet.play" version "3.8.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.triplet.gradle:play-publisher:3.8.6"
  }
}

apply plugin: "com.github.triplet.play"

Learn how to apply plugins to subprojects