Commit Graph

1039 Commits

Author SHA1 Message Date
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
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
modmuss
c7accc60a4 Fix renderdoc task not using the correct working dir. (#1329) 2025-07-08 09:11:05 +01: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
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
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
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
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
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
modmuss
e34325f7bc Add option to drop non root methods when using Mojang mappings. (#1258)
* Attempt to fix #1209

* More layered mappings tests

* Fix build

* Make opt in

* Rename
2025-04-16 22:08:49 +01:00
modmuss
47e001e929 Refmap inlining (#1273)
* Refmap inlining

* More work :)

* Disable by default

* Unit test fixes
2025-04-16 21:05:27 +01:00
modmuss
86587df8fd Don't apply interface injection to the common jar when a mod dep is client only. (#1288)
* Don't apply interface injection to the common jar when a mod dep is client only.

* Fixes
2025-04-16 09:18:14 +01:00
modmuss
4165168558 Resolve libraries for all platforms when generating verification metadata. (#1286)
* Resolve libraries for all platforms when generating verification metadata.

* Fix build
2025-04-07 21:01:45 +01:00
Jonathan Coates
d463501e9b Support putting run configs in folders (#1276)
* Remove unused RunConfig.genRuns

* Support putting run configs in folders

* Fix checkstyle complaints

Given how many of my projects use checkstyle, you'd have thought I'd
remember to check it before submitting a PR.

* Fix IdeaClasspathModificationsTest

"I won't run the tests, I've tested manually, and nothing will break".
Words spoken before disaster (or at least making a fool of myself in
CI).
2025-04-07 11:55:15 +01:00
modmuss
2af4b7e591 Handle fabric.mod.json file being empty (#1280)
* Throw a nicer error when the fabric.mod.json file is empty

* Don't fail just log.
2025-04-07 11:54:08 +01:00
modmuss
186b774a2e Verify the minecraft jar signature (#1282)
* Verify the minecraft jar cert

* Don't verify old server jars.

* Checkstyle

* Unit test fixes

* Add a list of known version hashes for versions that we cannot verify the jar signature.

Either the versions arent signed, or are signed with a SHA-1.

* Only verify minecraft jars when they were actually downloaded again.

* Add property to disable verification

* Fix import

* Fix bundled jars
2025-04-07 11:53:55 +01:00
modmuss
dbe1408a72 Use a hash for remapped dependency caching. (#1277)
* Use a hash from ModDependencyOptions for remapped dependency caching.

* Use a different group to allow exclusiveContent to work.

* Fix unit tests
2025-03-28 12:27:22 +00:00
modmuss50
3de1339138 Merge remote-tracking branch 'origin/dev/1.10' into exp/1.11 2025-03-16 10:33:22 +00:00
Juuz
a477a718ed RemapJarTask: Delete output if it exists to prevent ghost files (#1271)
* RemapJarTask: Delete output if it exists to prevent ghost files

Fixes #1270. This changed isn't necessary for RemapSourcesJarTask
as SourceRemapperService already deletes the output.

* Add a test for #1270

* Move DeletedResourceTest inside SimpleProjectTest
2025-03-04 22:07:52 +00:00
modmuss
a0cdb4ea6b Merge pull request #1272 from Juuxel/groovy-import-editorconfig
Add Groovy import order to .editorconfig
2025-03-04 21:45:13 +00:00
modmuss
8b0e718573 Fix client test resources dir (#1269) 2025-02-28 09:50:11 +00:00
modmuss
3dd090687f Create a real Gradle ObjectFactory for unit tests (#1266) 2025-02-25 19:49:33 +00:00
modmuss
2cd695b799 Add general purpose download task (#1262)
* Add general purpose download task

* Use duration + add basic max age test

* Enable default caching
2025-02-10 08:56:18 +00:00
modmuss
e3cd4947bf Remove loom bootstrap (#1261)
* Remove bootstrap, its no longer required as Gradle has a nicer error message for outdated java.

* No need to check idea or gradle version
2025-02-09 23:27:48 +00:00
modmuss
34edc76a50 Improved class entry validation (#1260)
* Improved class entry validation

* Fixes and tests
2025-02-09 23:21:54 +00:00
modmuss50
74795b0250 Add "productionRuntimeMods" configuration 2025-01-27 11:06:43 +00:00
modmuss
fc26023047 Configure compile task mixin options lazily (#1256)
* Try to configure compile task mixin options lazily

* Fix CompileJava being realised too soon, and other misc lazy task fixes.
2025-01-26 21:06:30 +00:00
modmuss50
1c025787b9 Fix VSC working directory location.
Co-authored-by: fewizz <hazeevaidar@gmail.com>
2025-01-26 14:26:41 +00:00
modmuss
9bcce94d5a Update to Mapping-IO 0.7.0 & Tiny Remapper 0.11 (#1245)
* Update to Mapping-IO 0.7.0

* Update to Mapping-IO 0.7.1

* Revert changes

* Update tiny remapper

* Fix invalid tiny v2 header.
2025-01-26 14:02:16 +00:00
modmuss50
cb8ba8fe1d Correct use UntrackedTask. Also fix #1254 2025-01-26 12:35:26 +00:00
modmuss
362fc98c47 Improvements to test and IDE runs (#1252)
* Improves to test and IDE runs

* Use correct sourceset
2025-01-22 22:05:55 +00:00
modmuss
3ee1372feb Fix getCompileRuntimeModsFromRemapConfigs not returning mods that have different versions on the compile/runtime classpath. (#1246) 2025-01-08 09:51:42 +00:00
modmuss
e1cc6f05fa Add support for running the production client with the tracy profiler. (#1244)
* Add support for running the production client with the tracy profiler.

* Fix test

* Update tracy capture
2025-01-04 21:06:28 +00:00
modmuss
52a19b3bf7 Use XVFB on Linux CI, allows running the client prod tasks on a headless OS (#1243) 2025-01-02 20:35:00 +00:00