-
Notifications
You must be signed in to change notification settings - Fork 404
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
Collision logging, Transformers for JSON and Standard Files #962
Open
Master-Code-Programmer
wants to merge
18
commits into
GradleUp:main
Choose a base branch
from
Master-Code-Programmer:module-info_rebase
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
44e9998
Updated depedencies without braking changes for vulnerabilities
8096419
Displaying `warn` level messages when adding a file attempts to overw…
chapmajs 63282c3
Adding tests, not filtering META-INF/ by default
chapmajs d26148f
Cleaned up "Collision logging" and added StandardFilesMergeTransforme…
f7a0e43
Made StandardFilesMergeTransformer cacheable.
cb49011
Displaying `warn` level messages when adding a file attempts to overw…
chapmajs 5dca036
Adding tests, not filtering META-INF/ by default
chapmajs 104f31c
Cleaned up "Collision logging" and added StandardFilesMergeTransforme…
cd77451
Fixed merge problems
abb9ac3
Lower the log-level for duplicated "META-INF/MANIFEST.MF" from warn t…
1a9aff2
Adding JsonTransformer and tests for it
48743f0
Logging module-info.class collisions
2fc05a9
Fix rebase errors
2fcc9fe
Added tests for StandardFilesMergeTransformer
07b9747
Adding option allowModuleInfos() to make it optional to include modul…
9e211d2
Fixed rebase errors with module-info exclusion and moved dependencies
f5a57ae
Removed package lock-file from .gitignore
dba0157
Fixed rebase conflict in build.gradle.kts
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I see so many changes are addressed in this PR, supporting including
module-info.class
is one of them, right? Can we extract this point as a separated PR?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.
Well, the problem is: Including the
module-info.class
isn't directly a problem. While it's non-intuitive to include it, it's already possible.The real problem comes into play if you unknowingly add a dependency which contains also a
module-info.class
. Meaning: You have a very, really problematic file collision. Which is what this patch is about.So I added a listing, to inform about the
module-info.class
s content. But only if the user wants to include it. Because in the default settings, the module-info is excluded anyway.And after much exploration I gave up, and have to admit that johnrengelman was completely right in #710: The only clean way allow the module-info, is with an extra option.
But I already thought: Maybe I should only list the module-info's content if there is a file collision? On the other hand: That file is so important if included, I decided to list it always.