Skip to content

Commit 30390df

Browse files
authored
Merge pull request #30 from gradle/lptr/update-readme
Update README.md
2 parents 3d7f20c + 0d63ba8 commit 30390df

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,19 @@
44

55
Some Android plugin versions have issues with Gradle's build cache feature. When applied to an Android project this plugin applies workarounds for these issues based on the Android plugin and Gradle versions.
66

7-
* Supported Gradle versions: 4.1+
8-
* Supported Android versions: 3.0.0, 3.1.0-alpha05
7+
* Supported Gradle versions: 4.1 to 4.4.1
8+
* Supported Android versions: 3.0.0, 3.1.0-alpha07
9+
10+
## List of issues
11+
12+
You can take a look at the list of issues that the plugin fixes by looking at the code of [`AndroidCacheFixPlugin`](https://github.com/gradle/android-cache-fix-gradle-plugin/blob/master/src/main/groovy/org/gradle/android/AndroidCacheFixPlugin.groovy) itself. It contains a number of `Workaround` implementations annotated with `@AndroidIssue`. The Javadoc has a short description of the problem, and the annotation gives information about when the problem was introduced, what is the first version of the Android plugin that fixes it, and there's a link to the issue on Android's issue tracker:
13+
14+
```groovy
15+
/**
16+
* Fix {@link org.gradle.api.tasks.compile.CompileOptions#getBootClasspath()} introducing relocatability problems for {@link AndroidJavaCompile}.
17+
*/
18+
@AndroidIssue(introducedIn = "3.0.0", fixedIn = "3.1.0-alpha06", link = "https://issuetracker.google.com/issues/68392933")
19+
static class AndroidJavaCompile_BootClasspath_Workaround implements Workaround {
20+
// ...
21+
}
22+
```

0 commit comments

Comments
 (0)