Search Gradle plugins

Use a standard Bazel remote cache server (REAPI v2) as the Gradle build cache backend.

https://github.com/pplr/gradle-bazel-cache

Sources: https://github.com/pplr/gradle-bazel-cache.git

Version 1.0.0-beta.2 (latest)

Created 30 September 2026.

Use a standard Bazel remote cache server (REAPI v2) as the Gradle build cache backend.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.pplr.bazel-cache") version "1.0.0-beta.2"
}

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("io.github.pplr.bazel-cache:io.github.pplr.bazel-cache.gradle.plugin:1.0.0-beta.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.pplr.bazel-cache")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.pplr.bazel-cache:io.github.pplr.bazel-cache.gradle.plugin:1.0.0-beta.2")
      }
    }
    
    apply(plugin = "io.github.pplr.bazel-cache")
  • Applying plugins to all subprojects .