-
Notifications
You must be signed in to change notification settings - Fork 408
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
Plugin won't include a jar in another jar? #319
Labels
Comments
BTW I've managed to work around this by doing this:
But it is quite slow |
try:
|
Doesn't seem to like that: |
Does it need to be |
1 task
I believe this should be fixed by #1233. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there. Great plugin. One problem:
I have a project with multiple subprojects. One of them is a server (cat) which contains the jar of another (agent) so that users can auto-download the client from the server when using our provided wrapper program.
I can't include the entire build scripts here, but these should be informative snippets:
In top-level build.gradle. This part works great in terms of making fat jars for all the subprojects we need and they execute OK.
In the cat build.gradle:
This copy task works as expected. The agent fat jar ends up in the resources directory. The cat jar gets built with everything I expect in it except the agent jar file.
I would expect since it's just sitting there in my resources, and my resources source set by default includes everything in there except some specific things, that it'd end up in the shadow jar, but apparently no? Maybe I'm doing this in an awful way, but any tips would be much appreciated. Thanks!
Shadow Version 2.0.1
Gradle Version 4.1
Expected Behavior
agent--all.jar is included in cat.jar
Actual Behavior
It's not
The text was updated successfully, but these errors were encountered: