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

Change UnMock task to Gradle's dependency transform #83

Closed matejdro closed 5 months ago

matejdro commented 5 months ago

It seems like Unmock is doing exactly what Gradle's dependency transformation system was designed to do. So this PR moves Unmock from being a task to a dependency transformer, which allows across-module caching.

This fixes #82.

matejdro commented 5 months ago

Thanks!