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-beta05

Created 12 October 2023.

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

Add this plugin to your build using the plugins DSL:

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

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-beta05")
    }
    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-beta05")
      }
    }
    
    apply(plugin = "androidx.build.gradle.gcpbuildcache")
  • Applying plugins to all subprojects .