Commit Graph

908 Commits

Author SHA1 Message Date
shedaniel
8229341557 Merge remote-tracking branch 'FabricMC/dev/0.7' into dev/0.7.4 2022-07-03 17:50:07 +08:00
modmuss50
72b1ca442e Actually handle gzip encoded connections when downloading. 2022-07-02 15:55:07 +01:00
modmuss50
ae6109c09c Apply mitigation's against Log4J2 exploit CVE-2021-44228.
(cherry picked from commit 4eb0290bb4)
2021-12-12 22:05:41 +08:00
shedaniel
5632df8540 Change warning message to outdated loom
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-12-02 02:13:04 +08:00
modmuss50
ef3e1260b0 Update Mixin Compile Extensions to support upcoming mixin versions 2021-09-08 11:43:07 +01:00
shedaniel
03cbb73783 Fix #22
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-08-14 02:20:24 +08:00
shedaniel
98c92c3730 Make forgeDependencies transitive
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-08-06 02:34:36 +08:00
shedaniel
6b1519129c Fix #42
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-08-02 18:43:39 +08:00
shedaniel
513f66663e Add warning for <1.17 Forge
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-08-02 02:51:24 +08:00
shedaniel
9ea01c5e66 Prepare for 0.7.4
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-08-02 02:45:47 +08:00
shedaniel
9a2e49a62b Switch to using architectury-loom-runtime and add ForgeSimpleTest
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-31 18:50:40 +08:00
shedaniel
e1f38b2c91 Update to Gradle 5.3, add dependencies transformation
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-29 22:32:28 +08:00
shedaniel
d5324c2c14 Fix de-obfuscated methods in vanilla not being remapped back to mojmap after being remapped to srg
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-29 21:57:53 +08:00
shedaniel
6d6e927e77 Implement runtime_classpath_file, minecraft_classpath_file, fix for forge runtime not added into userdev
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-29 02:44:16 +08:00
shedaniel
e30b9b5058 Working Forge 1.17 without working coremod support
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-27 22:01:47 +08:00
shedaniel
8783aafb84 wip
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-25 00:13:53 +08:00
shedaniel
bc90de1c4b Fix the return value of "net.fabricmc.loom.LoomGradleExtension.getInstallerData()" is null
Signed-off-by: shedaniel <daniel@shedaniel.me>
(cherry picked from commit f971bce5e2)
2021-07-21 00:11:14 +08:00
modmuss50
3110c0f05a Fix fabricApi.module does not respecting offline mode. Closes #412
(cherry picked from commit a73696a83f)
2021-07-21 00:08:56 +08:00
modmuss50
dbf0c5ed8f Fallback to fabric's experimental version manifest for versions that are not in the launchermeta.
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-21 00:08:47 +08:00
modmuss50
0ffb5b4ce1 Add CustomManifestTest
(cherry picked from commit d271dfadd0)
2021-07-21 00:05:48 +08:00
modmuss50
ad8eef7184 Actually handle gzip encoded connections when downloading.
(cherry picked from commit 34b771f744)
2021-07-21 00:05:44 +08:00
modmuss50
d1902ecb0e Add versions used to compile/build against to jar manifest (#428)
* Add versions used to compile/build against to jar manifest

* checkstyle

* Move to post remap

* Fix build

* Add mc version and mixin group

* Typo

* Make test run across versions better.

(cherry picked from commit 2259a4efc8)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-21 00:04:43 +08:00
shedaniel
959df385ea Don't read the intermediary file immediately
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-20 17:32:38 +08:00
shedaniel
5eafbbceeb Give a proper working directory for GradleMappingContext
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-20 17:32:38 +08:00
shedaniel
1e4f890483 Fix previous merge conflicts
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-20 17:32:26 +08:00
shedaniel
a162373fa1 Move the forge jar to prevent #35
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-20 17:32:22 +08:00
shedaniel
e9ccf5af91 Fix java.nio.file.FileAlreadyExistsException: META-INF/MANIFEST.MF
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-18 19:44:59 +08:00
shedaniel
8688a69d1c Add forge runtime as compileOnly
Signed-off-by: shedaniel <daniel@shedaniel.me>
(cherry picked from commit 62b9b97a52)
2021-07-16 21:56:01 +08:00
shedaniel
97c482ea30 Add crane support
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-14 20:19:18 +08:00
shedaniel
56f2236afe Fix typo "officalMojangMappings" (#420)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-14 20:06:36 +08:00
shedaniel
e835cd36fb Layered mappings
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-14 20:05:47 +08:00
shedaniel
458acc482d Split Minecraft and Forge jars (#34)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-14 18:21:03 +08:00
shedaniel
a82cafd382 Add unstable loom notice
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-13 22:32:33 +08:00
shedaniel
95bb7ebfb6 Fix AW test
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-13 21:13:02 +08:00
modmuss50
3913da2b4f Improve some bad stack traces.
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-13 18:35:39 +08:00
Juuxel
368d6b31c7 Test AW field remapping (#433)
(cherry picked from commit f13dc4eea7)
2021-07-13 18:34:35 +08:00
Juuxel
c3d5f36c11 Fix local file mod dependencies (#430)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-13 18:34:10 +08:00
shedaniel
987ed5144a Update dependencies
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 02:36:41 +08:00
shedaniel
6ad5dba9b2 Use a detached configuration to add jetbrains annotations to the source remapper classpath.
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 02:16:48 +08:00
shedaniel
f94056284b Allow specifying multiple accesstransformers
Signed-off-by: shedaniel <daniel@shedaniel.me>
(cherry picked from commit 9729933433)
2021-07-11 02:15:10 +08:00
shedaniel
728d1091dd AT Refactor
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 02:15:05 +08:00
shedaniel
69002a5457 Implement "Loom-Patch-Version"
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 02:10:31 +08:00
Juuxel
0cd784512d Forge Runtime
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 02:10:03 +08:00
Juuz
e664640610 Add AbstractFernFlowerDecompiler.configureJavaExec
This can be used to configure the decompiler classpath, for example.
2021-07-11 01:55:37 +08:00
haykam821
201eda480f Use tabs for indentation in the Fernflower decompiler (#383)
Co-authored-by: modmuss50 <modmuss50@gmail.com>

(cherry picked from commit 60482833b2)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 01:54:58 +08:00
shedaniel
893003a3cf Fix new gradle 8.0 deprecation added in 7.2 (#416)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 01:54:41 +08:00
modmuss50
9e7c08f7f1 Always fork the java compiler
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 01:53:45 +08:00
shedaniel
504fe594b1 Use a better structure for the mappings folder
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 01:52:38 +08:00
shedaniel
0193cab83b Detect tsrg2
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 01:51:43 +08:00
shedaniel
6b7784c0b5 Update tiny-remapper to 1.1.0
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-07-11 01:51:35 +08:00