Commit Graph

194 Commits

Author SHA1 Message Date
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
d44b56c128 Not depend on ForgeGradle and remap using SpecialSource directly 2021-01-11 00:27:15 +08:00
shedaniel
0e64ffa086 Migrate to our fork of mercury 2021-01-08 01:09:28 +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
6647f77d95 Proper mod depending 2020-12-27 13:02:10 +08:00
shedaniel
0fa2f6c73b Fix plugin id 2020-12-08 19:51:12 +08:00
shedaniel
371ec1bb2b Change name to forgified-fabric-loom 2020-12-08 15:27:29 +08:00
shedaniel
42b1de13f2 Setup forgified loom from Juuxel that allows for better production use. 2020-12-08 15:12:31 +08:00
Juuxel
ddb810ed99 Remap mixins properly (and cursedly) 2020-12-04 16:01:58 +02:00
Juuxel
2d88e849ec Add support for project ATs 2020-12-03 17:48:28 +02:00
Juuxel
2a10b70546 Add the mixin config to built jar manifests 2020-12-03 16:49:21 +02:00
Juuxel
e88a614b72 Add Forge mixin support 2020-12-03 12:21:01 +02:00
Juuxel
6fc3af3f65 Add environment variables to runClient and runServer 2020-12-03 12:03:18 +02:00
Juuxel
581b300f55 Use the source set to generate the MOD_CLASSES env var 2020-12-03 12:00:11 +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
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
028ae4a4ac Add experimental access transforming support 2020-12-02 19:52: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
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
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
98725f9400 Publish using github actions 2020-11-15 17:32:57 +00:00
modmuss50
d1281be741 Migrate to access-widener library (#294) 2020-11-15 16:15:02 +00:00
Jamie Mansfield
db623157aa Use Mercury 0.1.0-rc1 (#301) 2020-11-15 16:03:16 +00:00
modmuss50
9029a699d9 Official Mojang Mappings support
# Please read and understand the EULA before using!

Use in your build.gradle with the following:

`mappings minecraft.officialMojangMappings()`

To automatically migrate to Mojang mappings run the following:

`gradlew.bat migrateMappings --mappings "net.mojang.minecraft:mappings:1.16.2"`

Co-authored-by: Ramid Khan <ramidzkh@gmail.com>
2020-08-24 22:12:26 +01:00
Joshua Schirra
032ee6f9f1 fix build number not being expanded to proper value (#254)
convert String to GString so that the value is interpolated properly
2020-08-10 08:13:23 +01:00
Juuxel
186b09518b Revert "Try using SpecialSource directly instead of going through ForgeGradle"
This reverts commit 3f9c6978.
While this could work in theory, I'd also have to reimplement and run
the ForgeGradle jar stripping function myself. Delegating the work to
ForgeGradle is simple enough for now, though it limits Loom to Gradle 5.
2020-07-28 00:44:31 +03:00
Juuxel
3f9c697834 Try using SpecialSource directly instead of going through ForgeGradle 2020-07-28 00:40:54 +03:00
Juuxel
cea09e71e2 Add srgRemapJar (unknown if it works, I need to add more Forge dependencies first) 2020-07-27 22:44:47 +03:00
Juuxel
2af551366b Add Forge dependencies to projects 2020-07-27 21:55:55 +03:00
Juuxel
d062055eaf Inject Forge earlier to remap its SRG names to Yarn 2020-07-27 20:40:59 +03:00
Juuxel
38721a3f8c Add non-patched and Forge classes to the game jar 2020-07-27 20:29:56 +03:00
Juuxel
3ff0f73791 Switch back to Atlas 2020-07-27 19:39:25 +03:00
Juuxel
7002bb6ded broken 2020-07-27 19:34:42 +03:00
Juuxel
4378a48f99 Things 2020-07-27 18:48:08 +03:00
Juuxel
145451ab95 Revert "Use TR instead of Atlas for simple resource bundling and lambdas"
This reverts commit 2d0ba63f
2020-07-27 18:11:27 +03:00
Juuxel
2d0ba63fdb Use TR instead of Atlas for simple resource bundling and lambdas 2020-07-27 17:57:44 +03:00
Juuxel
0958d98269 It "works" now, though resources are gone 2020-07-27 17:31:49 +03:00
Juuxel
e7d779a64b Use ForgeGradle for producing SRG jars for patching 2020-07-27 17:01:28 +03:00
Juuxel
ffa70d6637 Some Forge stuff 2020-07-27 15:58:31 +03:00
Reece Dunham
1955bcb2ea General cleanup 2020-07-26 21:32:10 +01:00
modmuss50
cb52cabb18 Add Experimental CFR support. Line numbers and comments are not currently supported. 2020-07-26 21:22:17 +01:00
modmuss50
bc3ff0180a Start 0.5 dev cycle 2020-07-26 20:56:23 +01:00
modmuss50
c1e4212eb8 update fernflower 2020-06-15 23:09:23 +01:00
modmuss50
b1ae5dee5d Test across java and gradle versions with github actions. (#218)
* Experiment with github actions

* Fix?

* another fix

* Fix?

* Change github actions run args

* Tried and tested is better right?

* spaces spaces spaces

* revert

* info

* Just 4.9

* Fixes to support building on newer gradle versions

* Forward log output and run tests on runtime gradle version

* Remove travis

* De-duplicate

* Remove daily action, doesnt seem to work so well.
2020-06-08 15:19:11 +01:00
modmuss50
5ae727612d Update lorenz-tiny to 2.0.0 2020-05-27 16:41:43 +01:00
Fudge
cf13e4aa02 Allow applying kapt and using mixins in other source sets (#211)
* Fix kapt and source sets

* cleanup

* cleanup 2
2020-05-22 14:38:25 +01:00
modmuss50
a36d7a20d4 Fix crash when reading empty aw file, fix -SNAPSHOT versions plugin marker not being published 2020-05-14 02:07:53 +01:00
modmuss50
58fe59491a Also publish a -SNAPSHOT version along side the specific versions as it was useful. 2020-05-13 20:03:26 +01:00
modmuss50
3eff7d0fdb Improve setup speed. (#208)
* Improve access widener remapper, now uses tiny remapper

* First pass on using the new tiny remapper

* Optimise source remapping
2020-05-13 19:44:45 +01:00