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

Use the file resolver in LazyPublishArtifact #18715

Merged
merged 15 commits into from Dec 16, 2021

Conversation

octylFractal
Copy link
Member

This gives us many of these conversions for free, reducing duplicated code. This also fixes #15711.

The bulk of the change is LazyPublishArtifact.java, everything else is dependency injection or test fixing.

@octylFractal octylFractal added this to the 7.4 RC1 milestone Oct 20, 2021
@octylFractal octylFractal self-assigned this Oct 20, 2021
@gradle gradle deleted a comment from octylFractal Oct 20, 2021
@gradle gradle deleted a comment from octylFractal Oct 22, 2021
@gradle gradle deleted a comment from octylFractal Oct 22, 2021
Copy link
Member

@big-guy big-guy left a comment

Choose a reason for hiding this comment

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

This doesn't look like a bad change if it makes things more consistent, but it looks like there are some plugins relying on internal APIs that are busted by this: https://builds.gradle.org/viewLog.html?buildId=46767711&

The Play plugin we might be able to fix to avoid using internal APIs (we control it), but the Nebula and Spring plugins look more worrying.

@gradle gradle deleted a comment from big-guy Oct 25, 2021
@gradle gradle deleted a comment from big-guy Oct 25, 2021
@gradle gradle deleted a comment from octylFractal Oct 26, 2021
@octylFractal octylFractal force-pushed the ot/bugfix/provider-for-publish-artifact branch from c80ffe9 to 5fff09b Compare October 26, 2021 21:26
@gradle gradle deleted a comment from big-guy Oct 26, 2021
@octylFractal octylFractal force-pushed the ot/bugfix/provider-for-publish-artifact branch from 8e13524 to 804791e Compare October 27, 2021 18:23
@gradle gradle deleted a comment from octylFractal Oct 27, 2021
@gradle gradle deleted a comment from octylFractal Oct 28, 2021
@gradle gradle deleted a comment from octylFractal Nov 11, 2021
@octylFractal octylFractal force-pushed the ot/bugfix/provider-for-publish-artifact branch from 51dde6a to 8a32350 Compare November 11, 2021 04:45
@gradle gradle deleted a comment from big-guy Nov 11, 2021
@gradle gradle deleted a comment from octylFractal Nov 11, 2021
@gradle gradle deleted a comment from octylFractal Nov 15, 2021
@gradle gradle deleted a comment from octylFractal Nov 15, 2021
@gradle gradle deleted a comment from big-guy Dec 15, 2021
@gradle gradle deleted a comment from big-guy Dec 15, 2021
@gradle gradle deleted a comment from octylFractal Dec 15, 2021
@gradle gradle deleted a comment from octylFractal Dec 16, 2021
@bot-gradle
Copy link
Collaborator

OK, I've already triggered a build for you.

@bot-gradle
Copy link
Collaborator

Pre-tested commit build failed.

@octylFractal
Copy link
Member Author

@bot-gradle test and merge

@gradle gradle deleted a comment from octylFractal Dec 16, 2021
@gradle gradle deleted a comment from octylFractal Dec 16, 2021
@bot-gradle
Copy link
Collaborator

OK, I've already triggered a build for you.

@bot-gradle bot-gradle merged commit 2cb4012 into master Dec 16, 2021
@blindpirate blindpirate deleted the ot/bugfix/provider-for-publish-artifact branch December 20, 2021 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@core Issue owned by GBT Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to use a Provider<java.nio.file.Path> as an artifact for the maven-publish plugin
3 participants