Commit Graph

1125 Commits

Author SHA1 Message Date
Juuxel
064d4051d5 Add environment variable support for idea run configs 2020-12-03 11:19:38 +02:00
modmuss50
dd68c84226 Allow specifying natives directory with the fabric.loom.natives.dir gradle property.
Note this is designed to allow easy usage of custom natives, thus will not populate the directory with the default natives.
2020-12-02 20:18:12 +00:00
Juuxel
ee64d34bdb Revert unnecessary custom changes 2020-12-02 21:35:43 +02:00
Juuxel
5a8cd5ce9f Switch to TR (once again) for remapping srg -> official
It works now :^)
2020-12-02 21:30:27 +02:00
Juuxel
fe99918d36 Extract patching logic to MinecraftPatchedProvider 2020-12-02 21:08:46 +02:00
Juuxel
80780701d1 Manifest cleanup 2020-12-02 20:46:56 +02:00
Juuxel
8046f0c33c Merge the Forge manifest with the Minecraft manifest, ignoring any class sections 2020-12-02 20:28:03 +02:00
Juuxel
b61373f920 at go brrr 2020-12-02 20:19:57 +02:00
Juuxel
028ae4a4ac Add experimental access transforming support 2020-12-02 19:52:14 +02:00
Juuxel
b8552d1137 wut 2020-12-02 19:02:02 +02:00
Juuxel
13da3a13cd Add fixPackageAccess to MinecraftMappedProvider's tiny remapper 2020-12-02 18:52:39 +02:00
Juuxel
b8188475ce Fix some weirdness in SrgMerger 2020-11-30 21:37:14 +02:00
Juuxel
702cf11d33 Shade tiny mappings parser inside the injection jar, add launch property for the mapping path 2020-11-30 21:13:10 +02:00
Juuxel
76a171556e Try to fix the loom injection 2020-11-30 20:40:49 +02:00
Juuxel
385e0c9544 Add yarn naming service that is injected to the game jar
If Forge can do it, so can I.
2020-11-30 20:29:00 +02:00
Juuxel
a22a9b476c Delete existing ATs when remapping 2020-11-30 19:23:31 +02:00
Juuxel
ab954c2b3a Fix IOOBE 2020-11-30 19:20:51 +02:00
Juuxel
07e47d531c Use proper slash format in coremod remapper 2020-11-30 19:16:40 +02:00
Juuxel
ec199fef90 Tweak AT and coremod remappers 2020-11-30 19:15:32 +02:00
Juuxel
9b668547e0 Add coremod and AT remappers 2020-11-30 18:56:21 +02:00
Juuxel
5abdcea4dd Ignore missing classes in lenient SRG merging 2020-11-30 18:04:45 +02:00
Juuxel
038b0bfec3 Ignore missing fields and methods in SRG merging 2020-11-30 17:48:29 +02:00
Juuxel
3cd90e6e13 Delete existing manifests when augmenting them 2020-11-30 16:17:57 +02:00
Juuxel
f8a7654348 Add Forge implementation data to MANIFEST.MF 2020-11-30 16:13:26 +02:00
Juuxel
8c2b2033d9 Fix non-root walkFileSystems, part III 2020-11-30 15:43:54 +02:00
Juuxel
722d0fe94a Fix non-root walkFileSystems, part II 2020-11-30 15:39:01 +02:00
Juuxel
d52caa4ae0 Fix walkFileSystems with non-root source directories 2020-11-30 15:32:48 +02:00
Juuxel
f3dd0c4999 Add debug print to MinecraftProvider.walkFileSystems 2020-11-30 15:21:23 +02:00
Juuxel
4a990eecb0 Oops... 2020-11-30 15:10:37 +02:00
Juuxel
bda5d16924 Add fml.mcVersion and fml.forgeVersion to launch.cfg 2020-11-30 15:06:20 +02:00
Juuxel
0bda9a36ef Use DLI for launching Forge 2020-11-30 14:54:31 +02:00
Juuxel
7c013370a8 Meta-inf go brrr 2020-11-30 00:13:39 +02:00
Juuxel
b882abe469 Fix Forge run config generation 2020-11-29 23:47:19 +02:00
Juuxel
9d4b631fda Make Forge mode run LaunchTesting instead of DLI 2020-11-29 23:21:41 +02:00
Juuxel
fdb691f539 Fix compilation 2020-11-29 22:55:57 +02:00
Juuxel
e4d696bac2 Merge remote-tracking branch 'upstream/dev/0.5' into forge
# Conflicts:
#	src/main/java/net/fabricmc/loom/AbstractPlugin.java
#	src/main/java/net/fabricmc/loom/LoomGradleExtension.java
#	src/main/java/net/fabricmc/loom/providers/MappingsProvider.java
#	src/main/java/net/fabricmc/loom/task/RemapJarTask.java
#	src/main/java/net/fabricmc/loom/util/Constants.java
2020-11-29 22:50:37 +02:00
modmuss50
d1281be741 Migrate to access-widener library (#294) 2020-11-15 16:15:02 +00:00
Kitlith
62e89395f9 Configure build task dependencies as each subproject comes up. (#299) 2020-11-15 16:05:35 +00:00
Jamie Mansfield
db623157aa Use Mercury 0.1.0-rc1 (#301) 2020-11-15 16:03:16 +00:00
modmuss50
99d7ccd477 Remove debug log out 2020-10-28 16:52:50 +00:00
modmuss50
42a0cbd3b3 Dont throw when annotationDependency is not resloved. 2020-10-21 08:59:20 +01:00
modmuss50
5c4d89bd0d Ugly fix to mercury classpath not having jetbrains annotations 2020-10-21 08:58:07 +01:00
modmuss50
a8e0c8edbb Potentially fix memory leak with the mixin AP 2020-10-21 08:57:13 +01:00
modmuss50
e545a92166 Revert "Ugly fix to mercury classpath not having jetbrains annotations"
This reverts commit 33fdd9ff
2020-10-12 19:24:11 +01:00
modmuss50
33fdd9ffb2 Ugly fix to mercury classpath not having jetbrains annotations 2020-10-10 21:13:12 +01:00
Hephaestus-Dev
86577525cd Mark auto-generated mods with a custom value (#271)
* Make the barebones `fabric.mod.json` generated for non-mod dependencies an API for ModMenu purposes to prevent large mods with many dependencies from cluttering the menu.

* Changed from providing `modmenu:api` to `fabric-loom:generated` to be agnostic about third party mod usage.
2020-10-08 20:42:07 +01:00
modmuss50
9917f30518 Export rumtime remap classpath to DLI (#277)
* Export rumtime remap classpath for https://github.com/FabricMC/fabric-loader/pull/241

* Fix bad merge
2020-09-26 18:46:35 +01:00
i509VCB
21a9209b86 Split out some constants (#267)
This pull request also reorganizes parts of the constants class into categories.
2020-09-21 20:22:31 +01:00
modmuss50
d5ed659e7d Fix nested jar stripping not working reliability 2020-09-19 14:57:17 +01:00
modmuss50
80aaf63832 Fix race condition with mixin's output mappings across source sets 2020-09-06 20:21:08 +01:00