beryx / badass-runtime-plugin

Create a custom runtime image of your non-modular application
https://badass-runtime-plugin.beryx.org
Apache License 2.0
162 stars 21 forks source link

jre task should depend on any jars in the runtime classpath #131

Closed hakanai closed 1 year ago

hakanai commented 2 years ago

Fixes #130.

allDependencies returns a lazy collection which includes all the runtime dependencies. Those which come from projects will be a ProjectDependency along the lines of:

DefaultProjectDependency{dependencyProject='project ':lib'', configuration='default'}

This seems to make it run :lib:jar as part of the dependencies for the task.

siordache commented 1 year ago

@hakanai: Thanks for the PR! Release 1.13.0 includes your changes.

To everyone: I didn't have much time lately for this plugin. It would be great if some of you could help co-maintain it. I created an issue to keep track of this matter.