android-cache-fix-gradle-plugin icon indicating copy to clipboard operation
android-cache-fix-gradle-plugin copied to clipboard

Refactor expected outcome file names in Android Cache Fix Gradle Plugin

Open clayburn opened this issue 1 year ago • 0 comments

In Android Cache Fix Gradle Plugin, we have a set of expected outcome files here: https://github.com/gradle/android-cache-fix-gradle-plugin/tree/main/src/test/resources/expectedOutcomes

The file names match different versions of AGP. The result is that we have to change these filenames every time a new version of AGP comes in. This becomes quite tedious for example when Google releases alpha/beta versions of a specific release.

Instead, since we keep one of these files for each major/minor version pairing, it would be nice if the files simply followed the format <major>.<minor>_outcomes.json. This would reduce some of the tedium of keeping Android Cache Fix Gradle Plugin up to date.

clayburn avatar Apr 18 '24 21:04 clayburn