excelsior-oss / excelsior-jet-gradle-plugin

Excelsior JET Gradle Plugin provides Gradle users with an easy way to compile their applications down to optimized native Windows, OS X, or Linux executables with Excelsior JET http://www.excelsiorjet.com
GNU General Public License v3.0
26 stars 6 forks source link

Support modification of java.class.path entries order #36

Open liontiger23 opened 6 years ago

liontiger23 commented 6 years ago

Currently dependencies are added to the java.class.path in a strict order, most notably: import dependencies go before external dependencies. This prevents the ability of users to package their config files alongside the application and have changes in them take effect without explicitly removing these configs from .jar resources (because JVM will search java.class.path for these resources and will find unchangeable configs in executable, before the configs in package).

pjBooms commented 6 years ago

I think that the order in dependencies of jet plugin should be respected in java.class.path. This way reordering dependencies in jet plugin will take affect on java.class.path directly

liontiger23 commented 6 years ago

Yes, I think this will be enough to resolve the issue.