Search Gradle plugins

Version 2.7.3

Created 03 August 2023.

- [NEW] Drop support for Kotlin 1.6.X - [NEW] Run tests against AGP 8.2.0-alpha14 - [NEW] Run tests against AGP 8.1.0 - [NEW] Disable caching of `PackageForUnitTest` task as it does not benefit from caching.

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.gradle.android.cache-fix") version "2.7.3"
}

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