Commit Graph

106 Commits (5a16440c1efec12870953e369f0f481d37c16b23)

Author SHA1 Message Date
modmuss50 b69d0db1c2
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
2019-11-11 18:52:19 +00:00
modmuss50 f85daec559
Reformat to use Fabric API's checkstyle (#137)
* Reformat to use Fabric API's checkstyle

* Fix

* Fix

* Update

* Travis and fixes

* possible fix for checkstyle?

* Helps if i push the checkstyle.xml file...

* Log checkstyle issues to console - used by travis

* Fix some more issues

* opps
2019-11-02 20:23:27 +00:00
zml ba426c04fb Fix issues involving projects with modules that contain no java classes (#135)
Dependencies on a compileClasspath configuration, and
encountering nonexistant paths in the classpath prevented remapping from
completing successfully.

Additionally, adds the output of remapJar as an artifact before the task
executes to resolve a conflict with the signing plugin
2019-10-22 20:29:25 +01:00
modmuss50 7bcc6b98ff Rewrite native handling, fixes support for gradle 5.6.3 Fixes #81 Fixes #134
This will require run configs to be regenerated
Added cleanLoom, just a task that depends on cleanLoomBinaries and cleanLoomMappings
2019-10-22 20:04:38 +01:00
modmuss50 0b07f1badf Add a quick way to specify custom minecraft manifest urls 2019-08-15 17:45:08 +01:00
modmuss50 c2ccece4c2 Fix getRootProjectPersistentCache() not using the root project, closes #113 2019-06-24 11:23:28 +01:00
asie 754c061e2b add modApi, modImplementation, modRuntimeOnly; try to improve source remapping performance 2019-05-28 09:23:27 +02:00
asie 4134c7ef50 pull in annotationProcessor dependencies from fabric-loader JSON too 2019-05-27 22:14:35 +02:00
asie 89d207d06b remove hacky mixin refmap remapper 2019-05-27 22:01:30 +02:00
asie 788df9cfc7 migrate RemapJarTask and RemapSourcesJarTask over to getters/setters for fields; make RemapJarTask use input and output locations instead of in-place renaming fluff 2019-05-11 00:53:50 +02:00
Adrian Siekierka 88796b3c0f migrate away fabric-mixin-compile-extensions, fix root/sub project issues wrt mixin/loom presence hopefully once and for all 2019-04-30 00:43:26 +02:00
Adrian Siekierka 17b8aa7a70 fix #85, remove parts of deprecated code, update Mixin 2019-04-27 22:31:50 +02:00
Adrian Siekierka b5b3138e24 fix line number remapping, add option to disable mixin refmap remapping (unnecessary in loader 0.4.0+, but needs testting) 2019-04-23 22:50:39 +02:00
asie 9a33598608 remapped mods need to persist after a clean to allow "clean build" to work 2019-04-21 14:39:51 +02:00
Adrian Siekierka ab9d2d3fda store mixin maps in per-project build caches, move root project build cache to build/loom-cache from .gradle/ 2019-04-21 11:18:45 +02:00
modmuss50 e49af8ac39 Fix crash when parent project does not have loom 2019-04-15 09:12:48 +01:00
modmuss50 c9aaa68e5f Attempt to look in the root project for the loom version if required 2019-04-14 19:08:26 +01:00
modmuss50 f672b815c4 Dont expand out nested jars can be enabled if wanted. Will still strip the jars from the mod json 2019-04-08 10:50:30 +01:00
modmuss50 6f35014805 Extract nested jars from modCompile 2019-04-07 20:31:25 +01:00
Adrian Siekierka 0dcb7070be warn about refmap name after fields are populated, might help some things 2018-12-30 12:04:53 +01:00
Adrian Siekierka 6a77b5deaa gradle 5.0 support, fix #38 2018-12-30 12:03:25 +01:00
Adrian Siekierka 530896e41a make modCompile use flat directory artifact location instead of hack 2018-12-22 14:44:34 +01:00
Adrian Siekierka a620812aab build functional intermediary-mapped sources JARs; update Stitch 2018-12-22 14:37:16 +01:00
Adrian Siekierka 79ec748a12 parse fabric-installer.json for mod devenvs, add loaderLaunchMethod param for that purpose, tweak LineNumberAdjustmentVisitor 2018-12-22 10:31:10 +01:00
modmuss50 278c8d2401 Add a way to disable IDE run config auto generation. (Only applys when importing with idea's gradle tools) 2018-12-19 23:05:19 +00:00
asie 83d6a2da42 add minVersion filling support - fix #34 2018-12-15 14:33:25 +01:00
asie b00b42e3bf fix #28 2018-12-12 07:10:30 +01:00
modmuss50 f8bcf214f8 use project root dir, should fix files being all over the place 2018-12-10 14:28:58 +00:00
Adrian Siekierka da675e9545 clean mapping provider code 2018-12-09 22:22:35 +01:00
asie b1d5bd0536 add field name population on mapping download 2018-11-21 09:03:56 +01:00
modmuss50 c5a19955ff New experimental way of remapping mods, this may not stay 2018-11-05 20:33:57 +00:00
modmuss50 94c7137086 Split mappings and minecraft 2018-11-05 15:54:14 +00:00
modmuss50 d0e649766b Change some stuff in hope that it helps things 2018-11-04 21:28:46 +00:00
NikkyAI 40f9168b6a disable shading and small other fixes (#12)
* make Project in LoomGradleExtension private

* use gradle all distribution

* disable shading
2018-11-04 00:27:55 +00:00
Adrian Siekierka a99bee8f7c update libraries, switch to tiny-remapper as default 2018-10-31 15:23:50 +01:00
Adrian Siekierka 2668cae022 allow using either Enigma or Tiny for remapping JAR 2018-10-27 18:20:29 +02:00
Adrian Siekierka fdd4334a15 add license header 2018-10-27 16:14:05 +02:00
modmuss50 90746a93c1 More name updates, should help in a few places 2018-10-25 12:40:41 +01:00
modmuss50 88315e4ccf Revert "Remove a bunch of stuff + update to support modlauncher"
This reverts commit 6b59f9c
2018-10-22 19:46:42 +01:00
modmuss50 b8f0ec9d95 Revert to old name 2018-10-22 19:25:18 +01:00
modmuss50 6b59f9cc59
Remove a bunch of stuff + update to support modlauncher 2018-08-05 21:45:54 +01:00
modmuss50 fb94d092ad
Add skipPrebake 2018-06-20 13:12:02 +01:00
modmuss50 527000ed24
Inital work on getting the prebaker to work, still very broken but things have worked 2018-06-18 16:16:03 +01:00
modmuss50 a9dfbde6d4 Revert 3857631498 2018-05-14 11:17:26 +01:00
TheCodedOne bd7dfab919 Move user cache 2018-05-13 02:43:40 +01:00
modmuss50 3857631498
Remove all mixin related code 2017-05-12 20:17:21 +01:00
modmuss50 673f21c506
Add the ability to use custom mapping files. 2017-02-10 13:14:46 +00:00
modmuss50 2eaae5be44
Allow running without a POMF version set, and remove cyclic dep of fabric base to allow building for now. 2017-02-09 18:21:42 +00:00
modmuss50 9f959ef04d
Fix mod obof, and add property to specify refmapName 2016-10-20 16:55:46 +01:00
modmuss50 91708d4475 pomfVersion 2016-09-10 15:26:24 +01:00
modmuss50 ab0b8fd09f Rename pomf to pomf_build 2016-09-10 13:15:27 +01:00
modmuss50 5da73c87f8 Use pomf releases, build against gradle 3 2016-09-10 13:09:15 +01:00
modmuss50 3eb9b77746 Now stores files in the user gradle folder, will prevent downloading assets for each project 2016-08-25 12:42:23 +01:00
modmuss50 65e2a76d70 Jar merging + reformat 2016-08-17 17:38:54 +01:00
modmuss50 c03f842227 Fix mod dev workspaces 2016-08-17 17:07:54 +01:00
modmuss50 c89344527b Load project deps from within gradle, should allow moduals to be built 2016-08-17 00:30:48 +01:00