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

[Suggestion] Splitting tasks by platform #141

Open fourlastor opened 1 year ago

fourlastor commented 1 year ago

I noticed that currently the jre task works on all the defined platform at the same time.

I think it would be useful if instead the task were split by platform, and jre was a "convenience" task to group them all.

So, for example, given the platforms win_64, linux_64 and linux_aarch64, it would generate the following tasks

jreWindows64, jreLinux64, jreLinuxAarch64

and the task jre would depend on all of them.

This would have the direct benefit of being able to parallelize each task (a similar approach could be applied to other tasks as well)

I'd be happy to work on this, but likely later this year (mid September or later)