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
Add support for proper Gradle up-to-date checks #48
This adds a new UnMockTask class which defines the correct input
and output properties needed for Gradle to do proper up-to-date
checking on the task. It also allows Gradle to handle any file
downloads for dependent jars rather than trying to handle this
manually in ProcessRealAndroidJar.
In order to test that the caching logic is working correctly, add
a dependency on Gradle TestKit and java-gradle-plugin so that unit
tests can be written in the plugin project directly.
This adds a new UnMockTask class which defines the correct input and output properties needed for Gradle to do proper up-to-date checking on the task. It also allows Gradle to handle any file downloads for dependent jars rather than trying to handle this manually in ProcessRealAndroidJar.
In order to test that the caching logic is working correctly, add a dependency on Gradle TestKit and java-gradle-plugin so that unit tests can be written in the plugin project directly.
Fixes #46 and #47