bjoernQ / unmock-plugin

Gradle plugin to be used in combination with the new unit testing feature of the Gradle Plugin / Android Studio to use real classes for e.g. SparseArray.
Apache License 2.0
323 stars 22 forks source link

Enable relocatable Gradle build cache support #49

Closed drewhannay closed 5 years ago

drewhannay commented 5 years ago

The previous pull request (#48) added proper up-to-date checks but was missing the required annotations to allow the Gradle build cache support to work across multiple checkouts of a repository or across multiple machines.

This was somewhat hard to test initially (which is why it wasn't caught with the first PR) because the project was using a very old version of Gradle, so the first commit in this PR updates the Gradle version used so that we could verify that the changes in the second commit work properly.

Apologies for missing this on the first PR! I wasn't able to figure out how to test a snapshot with my actual app project, so I didn't catch the issue until the new version was published.