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

Version 1.0.0-alpha03

Created 12 May 2022.

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("androidx.build.gradle.gcpbuildcache:androidx.build.gradle.gcpbuildcache.gradle.plugin:1.0.0-alpha03")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("androidx.build.gradle.gcpbuildcache")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("androidx.build.gradle.gcpbuildcache:androidx.build.gradle.gcpbuildcache.gradle.plugin:1.0.0-alpha03")
      }
    }
    
    apply(plugin = "androidx.build.gradle.gcpbuildcache")
  • Applying plugins to all subprojects .