Commit Graph

554 Commits

Author SHA1 Message Date
shedaniel
3a49510c01 Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6-forge 2021-01-18 09:07:03 +08:00
shedaniel
6f10845562 Allow switching to fabric mixin in forge, allowing advanced refmap remapper, making yarn for forge working. 2021-01-13 20:32:37 +08:00
shedaniel
3986279215 Properly reapply changed ATs, Improve ATs performance. 2021-01-12 12:50:41 +08:00
shedaniel
eb55ece343 Fix build 2021-01-12 10:01:05 +08:00
shedaniel
03a9890e42 Let's not multi-thread ATs 2021-01-12 09:58:33 +08:00
shedaniel
fed9b0a4e7 Fix setup errors + Multi-thread forge patching more. 2021-01-11 14:36:15 +08:00
shedaniel
4de37503a1 Make gradlew dependencies not break with mojmap 2021-01-11 00:27:40 +08:00
shedaniel
d44b56c128 Not depend on ForgeGradle and remap using SpecialSource directly 2021-01-11 00:27:15 +08:00
shedaniel
e0f22f23da Refactor SrgNamedWriter 2021-01-10 17:12:42 +08:00
shedaniel
39a3a301cf Refactor InnerClassRemapper 2021-01-10 17:12:38 +08:00
shedaniel
0793ac224e Remap forge added inner classes correctly 2021-01-08 11:38:49 +08:00
shedaniel
16e5b39eba Force forge mod detection 2021-01-08 09:58:05 +08:00
modmuss50
9de836b2c4 Remove usage of internal kotlin class, should fix crash with kotlin 1.4. Closes #324 2021-01-07 20:35:43 +00:00
shedaniel
99d55d64b9 Log what dependency is empty 2021-01-07 13:30:15 +08:00
shedaniel
6ba0cc5ffb Properly apply dirty access transformers 2021-01-07 01:01:53 +08:00
shedaniel
e472bd84ec Delete jar if failed to remap 2021-01-07 01:01:49 +08:00
shedaniel
c9b952b9ac Suffix _forge for forge remapped jars 2021-01-07 01:01:11 +08:00
shedaniel
b918ef3bc0 Filter jar signing info in MANIFEST.MF properly 2021-01-02 14:02:44 +08:00
modmuss50
11b62989e7 Cleanup output files when remap fails. Fixes #321 2020-12-30 20:34:34 +00:00
modmuss50
841fc5a4db Fix classifier handling for remapped dependencies 2020-12-30 20:12:33 +00:00
shedaniel
49f3b7209e Allow the generation of tiny mappings with srg without being in a forge environment 2020-12-30 18:47:54 +08:00
shedaniel
7a1bf32134 Allow specifying multiple mixin configs for forge 2020-12-30 15:58:41 +08:00
shedaniel
e507000686 Multi-thread remapping, fix parameter annotations for forge, update CleanLoomBinaries to include forge jars, make forge jars respect refresh dependencies. 2020-12-28 20:17:19 +08:00
shedaniel
112582b7d6 Strip jar verification 2020-12-28 02:26:38 +08:00
modmuss50
792a64e2ef Optimise loom configuration, saves 1.2 seconds in my testing. #319 2020-12-27 16:25:30 +00:00
shedaniel
e38ad19186 Remap AT method descriptor 2020-12-27 13:48:22 +08:00
shedaniel
6647f77d95 Proper mod depending 2020-12-27 13:02:10 +08:00
shedaniel
4b93054ddb Remap refmap the worse way, but then it works. 2020-12-26 23:51:37 +08:00
modmuss50
c95e3459a4 Remove jcenter as a default maven repo. This will make builds faster and more reliable. It is trivial to add back manually for projects that require it.
Closes #314
2020-12-26 15:15:31 +00:00
shedaniel
d8328c7905 Make forge default obfuscation environment be "searge" 2020-12-26 22:50:44 +08:00
shedaniel
43520d439b Forgot class AT only have 2 columns 2020-12-25 16:28:03 +08:00
shedaniel
43cef2e5a4 Fix remapping forge dependencies 2020-12-25 16:19:24 +08:00
modmuss50
03444f26b0 General code cleanup (#313)
* First general cleanup pass

* Review feedback

* Fix build

* Fix tests
2020-12-24 20:58:30 +00:00
shedaniel
d325274e4f Filter unknown invokedynamic bsm 2020-12-23 18:55:39 +08:00
i509VCB
b0860c36d6 Add ability to specify additional tiny remapper options in remapJar (#292)
* Add ability to specify additional tiny remapper options in remapJar

* Imports go brr

* Fix checkstyle

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-12-21 21:02:39 +00:00
modmuss50
e20993daf8 Allow setting the RemapJarTask classpath. Closes #307 2020-12-21 20:42:23 +00:00
solonovamax
c96396fb27 Fix genSources not working when root project doesnt have loom applied#308. (#309)
loom now runs genSources on root project if the plugin exists in the root project, else it will build in the current project.

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2020-12-21 19:48:26 +00:00
Cool_Mineman
7e5053b0c5 Respect reproducibleFileOrder and preserveFileTimestamps (#304)
* Respect reproducibleFileOrder and preserveFileTimestamps

* Also Respect On Sources Jars

* java 8

* checkstyle

* Please Rerun Actions
2020-12-21 19:47:08 +00:00
user11681
9f6c8486fb Add nogui to server program arguments (#310)
Closes #276
2020-12-21 19:44:39 +00:00
modmuss50
b27bc3d39a Use launcher metadata manifest v2. Closes #290 2020-12-21 19:37:35 +00:00
modmuss50
3bdccee02e Refactor and fix game/loader library handling (#298)
Update fernflower
2020-12-21 19:34:00 +00:00
modmuss50
78c934aed5 Move remapped mods into a full local maven repo (#300) 2020-12-21 19:33:23 +00:00
shedaniel
67bc2f66c4 support windows for the path separator 2020-12-20 23:37:27 +08:00
shedaniel
07f252d70e Option to disable mojmap warning + ways to add tasks to do before run. 2020-12-08 21:24:42 +08:00
shedaniel
27c4b42e9f use my stream shit thank 2020-12-08 10:19:25 +08:00
Juuxel
859b132851 Should fix MOD_CLASSES on Linux 2020-12-05 13:40:50 +02:00
Juuxel
c1e93b29e9 Clean up MinecraftPatchedProvider again 2020-12-05 13:37:26 +02:00
Juuxel
876cb01e98 Reduce unnecessary workload for MinecraftPatchedProvider 2020-12-04 16:10:37 +02:00
Juuxel
ddb810ed99 Remap mixins properly (and cursedly) 2020-12-04 16:01:58 +02:00
Juuxel
fb70a5b306 Add missing license header 2020-12-03 22:22:34 +02:00