Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change UnMock task to Gradle's dependency transform #83

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

matejdro
Copy link
Contributor

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.

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
Copy link

@bojankseneman bojankseneman Jun 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could switch to binary distribution, I don't see any reason why all is needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was all before, so I did not want to change it. Plus, from what I understand, all includes sources/javadocs, which makes IDE experience a bit better when interacting with Gradle scripts.

Copy link
Owner

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Thanks! Going to merge this and hopefully I can publish a new version next weekend

@bjoernQ bjoernQ merged commit a8ad2e1 into bjoernQ:master Jun 24, 2024
@matejdro matejdro deleted the artifact-transform branch June 27, 2024 05:16
@matejdro
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

processing android jar once on multi-module project
4 participants