From d5538a4956310c9cedec5b0da76fa57bb9b622ce Mon Sep 17 00:00:00 2001 From: Zac Sweers Date: Tue, 31 Aug 2021 15:03:32 -0400 Subject: [PATCH] Prepare for release 0.11.1. --- CHANGELOG.md | 7 +++++++ keeper-gradle-plugin/gradle.properties | 2 +- .../src/main/java/com/slack/keeper/VariantClasspathJar.kt | 3 +-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81e24a7c..e96c801f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Changelog ========= +0.11.1 +------ + +_2021-08-31_ + +* **Fix:** Keeper's intermediate jar creation tasks previously accepted dependencies inputs based on content only. This caused build caching issues across multiple machines with Gradle remote cache enabled because it would then attempt to use the previous build's absolute path to those dependency jars and subsequently fail. This is now fixed by reworking this logic internally a bit and using absolute path sensitivity for that input. This should ensure that caching still works like before across the same machine/paths but will properly be out of date when the absolute paths change across different machines. + 0.11.0 ------ diff --git a/keeper-gradle-plugin/gradle.properties b/keeper-gradle-plugin/gradle.properties index 4569807f..26ecd72a 100644 --- a/keeper-gradle-plugin/gradle.properties +++ b/keeper-gradle-plugin/gradle.properties @@ -23,7 +23,7 @@ POM_NAME=Keeper POM_ARTIFACT_ID=keeper POM_PACKAGING=jar GROUP=com.slack.keeper -VERSION_NAME=0.12.0-SNAPSHOT +VERSION_NAME=0.11.1 POM_DESCRIPTION=A Gradle plugin that infers Proguard/R8 keep rules for androidTest sources. POM_URL=https://github.com/slackhq/keeper/ POM_SCM_URL=https://github.com/slackhq/keeper/ diff --git a/keeper-gradle-plugin/src/main/java/com/slack/keeper/VariantClasspathJar.kt b/keeper-gradle-plugin/src/main/java/com/slack/keeper/VariantClasspathJar.kt index 8ea59f18..77e1065f 100644 --- a/keeper-gradle-plugin/src/main/java/com/slack/keeper/VariantClasspathJar.kt +++ b/keeper-gradle-plugin/src/main/java/com/slack/keeper/VariantClasspathJar.kt @@ -61,8 +61,7 @@ public abstract class BaseKeeperJarTask : DefaultTask() { } /** - * This is the "official" input for wiring task dependencies correctly, but is otherwise - * unused. This needs to use [InputFiles] and [PathSensitivity.ABSOLUTE] because the path to the + * This needs to use [InputFiles] and [PathSensitivity.ABSOLUTE] because the path to the * jars really does matter here. Using [Classpath] is an error, as it looks only at content and * not name or path, and we really do need to know the actual path to the artifact, even if its * contents haven't changed.