Search Gradle plugins

Using the plugins DSL:

plugins {
  id("name.remal.simple-build-cache") version "0.18.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.name.remal:gradle-plugins:0.18.2")
  }
}

apply(plugin = "name.remal.simple-build-cache")

Using the plugins DSL:

plugins {
  id "name.remal.simple-build-cache" version "0.18.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.name.remal:gradle-plugins:0.18.2"
  }
}

apply plugin: "name.remal.simple-build-cache"

Learn how to apply plugins to subprojects