Use Dev Launch Injector to ensure that the launch options are always kept upto date. (#138)

* Generate pre-launch classes to set the run args and system property's
Will remove the need to regen the run configs each time the game is updated

* fix minor thing.

* Small cleanup

* Another small rename + remove testing code

* Remove import

* Add basic auto upgrade path, put the launch classes in a package

* Suggested cleanups

* Use dev-launch-wrapper

* Remove old classes

* Rename to dev-launch-injector

* Update more things I forgot about
This commit is contained in:
modmuss50
2019-11-11 18:52:19 +00:00
committed by GitHub
parent c8ef934bda
commit b69d0db1c2
7 changed files with 170 additions and 42 deletions

View File

@@ -179,6 +179,10 @@ public class LoomGradleExtension {
return natives;
}
public File getDevLauncherConfig() {
return new File(getRootProjectPersistentCache(), "launch.cfg");
}
@Nullable
private static Dependency findDependency(Project p, Collection<Configuration> configs, BiPredicate<String, String> groupNameFilter) {
for (Configuration config : configs) {