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

Replace unsupported gradle-onejar plugin. #92

Closed
nsoft opened this issue Sep 10, 2017 · 2 comments
Closed

Replace unsupported gradle-onejar plugin. #92

nsoft opened this issue Sep 10, 2017 · 2 comments
Assignees
Milestone

Comments

@nsoft
Copy link
Owner

nsoft commented Sep 10, 2017

It's with a heavy heart that I'm going to begin contemplating the gradle-shadow plugin. I've long felt one-jar was the most natural solution to the dependency bundling issue which if it had been adopted and refined by Sun/Oracle would have been a great step forward. One jar essentially allows the jar to contain a Plain Old Java Class Path within the jar. So (with a few esoteric exceptions) everything works/operates just like standard java class path. There's no room for issues with how the contents of the dependency jars were sprinkled into the final jar, nor need to combine service descriptors or any of that other stuff. If you understand standard java you don't need to learn/track any new processes to troubleshoot issues with your one-jar class path. (With the exception of libraries that also try to mess with the class path, or unusual security manager cases such as #89)

But time is moving on, and one-jar has not been maintained by it's author in many years (last checkin 4 years ago, before that 6 years ago... Worse yet the wonderful plugin by Ray Holder is now 2 years since any sign of maintenance and it doesn't work with gradle 4 👎 rholder/gradle-one-jar#31

@nsoft nsoft added this to the 0.3 milestone Sep 10, 2017
@nsoft nsoft self-assigned this Sep 10, 2017
@nsoft nsoft modified the milestones: 0.3, 2.0 Sep 11, 2017
@nsoft
Copy link
Owner Author

nsoft commented Sep 11, 2017

I did find this... but their github fork has issues turned off so that's not looking like an intent to continue support, just fix the 4.0 problem... https://plugins.gradle.org/plugin/com.github.onslip.gradle-one-jar

@nsoft
Copy link
Owner Author

nsoft commented Mar 9, 2019

Fixed in #129, a kind soul has taken on support via a fork and published the fix... for now at least.

@nsoft nsoft closed this as completed Mar 9, 2019
@nsoft nsoft modified the milestones: 2.0, 1.0 Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant