Search Gradle plugins

androidx.build.gradle.gcpbuildcache

Implementation of Gradle Build Cache that allows to use Google Cloud Platform storage buckets as a back end.

https://github.com/androidx/gcp-gradle-build-cache

Sources: https://github.com/androidx/gcp-gradle-build-cache

Using the plugins DSL:

plugins {
  id("androidx.build.gradle.gcpbuildcache") version "1.0.0-beta10"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("androidx.build.gradle.gcpbuildcache:gcpbuildcache:1.0.0-beta10")
  }
}

apply(plugin = "androidx.build.gradle.gcpbuildcache")

Using the plugins DSL:

plugins {
  id "androidx.build.gradle.gcpbuildcache" version "1.0.0-beta10"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "androidx.build.gradle.gcpbuildcache:gcpbuildcache:1.0.0-beta10"
  }
}

apply plugin: "androidx.build.gradle.gcpbuildcache"

Learn how to apply plugins to subprojects