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

Version 1.0.0-beta01 (latest)

Created 14 July 2022.

- Warn when a user incorrectly configures GCP bucket to be used for the cache.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects