-
Notifications
You must be signed in to change notification settings - Fork 135
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
baseline-java-versions uses library presets for projects using shadow-jar #2108
Conversation
Generate changelog in
|
// 'nebula.maven-publish' and 'com.github.johnrengelman.shadow' create publications lazily which cause | ||
// inconsistencies based on ordering. | ||
private static final ImmutableSet<String> LIBRARY_PLUGINS = | ||
ImmutableSet.of("nebula.maven-publish", "com.github.johnrengelman.shadow"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it actually the johnrengelman
shadow or is it our gradle-shadow-jar
which does this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, our one doesn't create publications - I'd be surprised if the johnrengelman
did as well, as you have normally have to fiddle about with publications when using it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, I think this is on us due to ShadowJarPlugin ensureShadowJarIsOnlyArtifactOnJavaConfigurations
+ dependOnJarTaskInOrderToTriggerTasksAddingManifestAttributes
👍 |
7eb7fd8
to
f8164bd
Compare
Released 4.75.0 |
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/latest-baseline-oss check. # Release Notes ## 4.75.0 | Type | Description | Link | | ---- | ----------- | ---- | | Improvement | Finalize java-versions extension values on read to prevent changes due to interactions from other plugins | palantir/gradle-baseline#2107 | | Improvement | baseline-java-versions uses library presets for projects using shadow-jar to prevent resolution/mutation ordering failures | palantir/gradle-baseline#2108 | To enable or disable this check, please contact the maintainers of Excavator.
Before this PR
After this PR
==COMMIT_MSG==
baseline-java-versions uses library presets for projects using shadow-jar to prevent resolution/mutation ordering failures
==COMMIT_MSG==