Commit Graph

2398 Commits

Author SHA1 Message Date
Juuz
ea2490b84b McpExecutor: Run steps in parallel (#295)
This has a slight speed boost in my testing (around -10% for the total McpExecutor time).
IIRC older game/Forge versions had more steps, so they will benefit more.
2025-08-20 02:20:50 +03:00
Juuz
250e6df67b Publish 1.11 1.11 2025-08-18 20:59:58 +03:00
Juuz
a7ef1472b0 Fix code style 2025-08-18 20:20:09 +03:00
Juuz
3d531ac041 Prevent using ForgeToolExecutor directly
For config cache compatibility, everything must go through
ForgeToolValueSource or ForgeToolService.
2025-08-18 20:15:58 +03:00
Juuz
8441129629 Fix ForgeToolService not working in project config 2025-08-18 20:12:33 +03:00
Juuz
df56ef4e8e Add support for quilt.mod.json5 (#150)
See:
- RFC: QuiltMC/rfcs#83
- Build tool impl: QuiltMC/quilt-loom#36, QuiltMC/quilt-loom#37
- Required loader PR: QuiltMC/quilt-loader#329
2025-08-18 19:55:04 +03:00
Juuz
b27bd29bb8 Remove empty service options interfaces 2025-08-18 19:24:33 +03:00
Juuz
9b4c24e983 Fix code style 2025-08-18 19:08:13 +03:00
Juuz
57e853aa13 Make McpExecutor and GenerateForgePatchedSourcesTask config cache-compatible
- Added ForgeToolService to run tools in tasks
- Added AccessTransformerService to simplify applying ATs and
  to make the tool config cache-compatible
- Split McpExecutor into an execution stage (McpE) and
  a setup stage (McpExecutorBuilder)
- McpExecutor is now a service
- All StepLogic implementations are now services
2025-08-18 19:03:03 +03:00
Juuz
43c6662661 ForgeSourcesService: Fix incomplete classpath 2025-08-18 18:46:42 +03:00
Juuz
2b89258192 Rewrite ForgeSourcesRemapper as a service for config cache support 2025-08-18 14:51:32 +03:00
Juuz
a8b67d25b2 Fix deprecated syntax in NeoForge tests 2025-08-18 13:43:02 +03:00
Juuz
fe2c21c0ad Merge 1.11 2025-08-18 13:13:31 +03:00
modmuss
2617ed1f49 "Fix" another project isolation issue. (#1353)
* "Fix" another project isolation issue.

Closes #1352

* Fix
2025-08-13 08:53:00 +01:00
modmuss50
b85b3e695a Merge remote-tracking branch 'origin/dev/1.11' into exp/1.12 2025-08-12 08:56:04 +01:00
modmuss
fd8cc10120 Fix unpick remapping classpath (#1350) 2025-08-12 08:55:36 +01:00
modmuss50
cc411d4c6a Merge remote-tracking branch 'origin/dev/1.11' into exp/1.12 2025-08-11 11:12:51 +01:00
Joseph Burton
543d47a0f8 Unpick v3 fixes (#1347) 2025-08-11 11:06:40 +01:00
modmuss50
45644ca4f9 Merge branch 'dev/1.11' into exp/1.12 2025-08-06 09:56:49 +01:00
modmuss50
573bc119ec Fix not being able to skip jar verification. 2025-08-06 09:56:28 +01:00
modmuss
64590eb915 Disable the legacy Mixin Annotation Processor by default. (#1343) 2025-07-31 18:25:21 +01:00
modmuss
1829e33695 Update Tiny Remapper to 0.11.2 (#1342) 2025-07-30 21:29:05 +01:00
Thunderblade73
bd71ff9468 Fixed gradle serialization issue inside ForgeRunTemplate for 1.10 (#291) 2025-07-30 10:17:16 +10:00
modmuss
97bca29290 Gradle 9.1 deprecation fixes + update test and build libs (#1338)
* Update test and build libs

* Gradle deprecation fixes

* RC4
2025-07-29 13:03:17 +01:00
Joseph Burton
cc24a13679 Add ability to add and remove annotations via mappings (#1331)
* Add ability to add and remove annotations via mappings

* Address review comments
2025-07-27 13:39:03 +01:00
modmuss
9104549347 Misc peformance improvements (#1337)
* First pass

* Make async cache generic

* Suppress with annotation
2025-07-27 13:38:15 +01:00
modmuss50
ea43f8681a Start on Loom 1.12 2025-07-26 16:30:32 +01:00
modmuss
c7accc60a4 Fix renderdoc task not using the correct working dir. (#1329) 2025-07-08 09:11:05 +01:00
Juuz
f62514260a Generate Minecraft-Dist(s) attributes for NeoForge 21.7 2025-07-07 14:44:55 +03:00
Juuz
27114d20e1 Update to Unprotect 1.3.1 2025-07-07 13:40:57 +03:00
modmuss
7c53939918 Revert to old run config template code. (#1327) 2025-07-04 15:35:54 +01:00
modmuss50
7a465a8862 Fix possible remapping failure reported in discord. 2025-07-02 23:21:35 +01:00
modmuss50
fdadd0575d Drop log level of CRL download failures to info
Once this root cert expires I expect the CRLs will be taken offline, after that time the CRL becomes useless.

In a few years we don't want every build to suddenly have errors in the logs.

I think this is acceptable as your web browser or OS will not inform you of CRL download failures.
2025-06-24 10:31:39 +01:00
gniftygnome
d14f7c3e2f Update the gradle wrapper validation script to fix GitHub Actions. (#281)
- `gradle/wrapper-validation-action@v2` moved to `gradle/actions/wrapper-validation@v4`
2025-06-21 07:43:47 +02:00
modmuss
9b76a353ec Unpick remapping (#1318)
* Unpick remapping

* More work

* Better tests

* Copilot had some good ideas for once.
2025-06-20 20:05:27 +01:00
modmuss
ba1cd12413 9.0.0-rc-1 (#1324) 2025-06-20 18:02:27 +01:00
modmuss
c4123bda53 Run tests against Gradle 9 M9 (#1319)
* Run tests against Gradle 9 M9

* Fix

* Test fixes

* Spotless

* Fix
2025-06-10 10:51:22 +01:00
modmuss
d66c476c11 Fix AsyncZipProcessor not waiting for for all futures to complete on failure. (#1315)
* Fix AsyncZipProcessor not waiting for for all futures to complete on failure.
2025-05-30 16:48:34 +01:00
modmuss
0a10482c66 Unpick V3 (#1310)
* Unpick V3

* Update unpick

* Dont use impl class

* Apply classresolver changes from Earthcomputer

* Unpick beta 3

* beta 4

* Unpick logging improvements
2025-05-30 16:44:32 +01:00
gniftygnome
97a64410d2 Avoid Mapping-IO limitations on modifying a mapping tree with active visitor. (#278)
- Use Mapping-IO API when modifying its tree
- Close mapping visitor before modifying mapping tree
- Seems to avoid #276
2025-05-17 22:43:10 +02:00
modmuss
c365ad0743 Fix being unable to depend on specific snapshot versions of mods. (#1312)
* Fix being unable to depend on specific snapshot versions of mods.

* Update comment

* Better fix.
2025-05-17 14:53:42 +01:00
modmuss
5aa7a3efef Test RemapSourcesJarTask with custom mappings (#1311)
* Test RemapSourcesJarTask with custom mappings

* Check remapped output
2025-05-17 13:32:12 +01:00
modmuss
3a5b207cdc Fix RemapSourcesJarTask not using the custom mappings (#1308)
* Fix RemapSourcesJarTask not using the custom mappings

* Remove old todo
2025-05-14 20:34:33 +01:00
modmuss
0a35910c63 Rewrite Checksum util class (#1304)
* Rewrite Checksum util class as the old one was annoying me.

* Small cleanup in UnpickService

* Test fixes & cleanup

* Fix build

* Fix OfflineModeTest
2025-05-07 12:13:35 +01:00
modmuss
eff00a1c30 Replace a bunch of Guava stuff with Java APIs (#1305) 2025-05-06 15:06:52 +01:00
modmuss
9948092cdb Create UnpickService to move unpick related code out of gen sources.
* Unpick code cleanup 1

* Dont create unpick service when not using unpick
2025-05-06 14:15:07 +01:00
modmuss
0e26ac3816 Target Loom to Java 21 (#1299) 2025-05-05 20:46:16 +01:00
modmuss
8389baf27b Run unpick in process. Fixes issues with long command lines. (#1298)
* Run unpick in process. Fixes issues with long command lines.

* Undo test change

* Cleanup
2025-05-01 21:08:38 +01:00
modmuss
88dba47e5d Add custom mappings support to abstract remap jar task. (#1297)
* Add custom mappings support to abstract remap jar task.

Closes #1296

* Fix build
2025-04-28 22:09:45 +01:00
modmuss
8014d2c18b RenderDoc tasks (#1291)
* First pass on renderdoc support

* Fixes and improvements

* Fix debugging/cleaner code.

* Download from fabric maven

* Fix build

* Revert changes to AbstractRunTask
2025-04-26 15:37:46 +01:00