You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runShadow task is using the output of the shadowJar task as the argument to java -jar .... This resolves to a path in build/libs but that is not where the shadow configuration jars are copied to. Thus, any dependent libraries (like encryption libraries) are not available.
Instead, runShadow should depend on installShadowApp since that task will write the -all jar and the dependent jars from the shadow configuration to the build/installShadow/<project-name>/lib directory and the argument path should be in the location in that directory. That way, dependent jars that are included in the manifest Class-Path attribute will be in their correct relative locations.
The text was updated successfully, but these errors were encountered:
The
runShadow
task is using the output of theshadowJar
task as the argument tojava -jar ...
. This resolves to a path inbuild/libs
but that is not where theshadow
configuration jars are copied to. Thus, any dependent libraries (like encryption libraries) are not available.Instead,
runShadow
should depend oninstallShadowApp
since that task will write the-all
jar and the dependent jars from theshadow
configuration to thebuild/installShadow/<project-name>/lib
directory and the argument path should be in the location in that directory. That way, dependent jars that are included in the manifestClass-Path
attribute will be in their correct relative locations.The text was updated successfully, but these errors were encountered: