Commit Graph

300 Commits

Author SHA1 Message Date
modmuss
e076ac7bcf Direct port to class tweaker (#1398)
* Direct port to class tweaker

* Debugging help

* Checkstyle

* Update CT
2025-10-24 18:06:26 +01:00
modmuss
09a4831f25 Support classpath groups when using configure on demand. (#1392)
* Support classpath groups when using configure on demand.

* Cleanup

* Work around Gradle 8.14 issue

* Another fix

* Rename plugin

* Fix plugin versioning

* Add some docs

* More fixes

* Ensure backwards compatible.
2025-10-20 22:46:36 +01:00
modmuss
cf42acf09f Remove Guava and Commons IO Dependencies (#1372) 2025-09-27 09:06:29 +01:00
modmuss
4a34c4bde5 fabric.mod.json generation task (#1345)
* fabric.mod.json DSL.

* A start on generating FMJs

* More work

* The rest

* Task works

* Javadoc and cleanup

* Fixes
2025-09-02 09:27:55 +01:00
modmuss50
ea43f8681a Start on Loom 1.12 2025-07-26 16:30:32 +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
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
0e26ac3816 Target Loom to Java 21 (#1299) 2025-05-05 20:46:16 +01:00
modmuss
b09c037007 Rewrite KotlinClassMetadataRemappingAnnotationVisitorTest in groovy. (#1295) 2025-04-25 19:39:43 +01:00
modmuss
e62b8692d3 Fix DebugLineNumbersTest and run it on extended test runs. (#1294) 2025-04-25 19:14:38 +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
modmuss50
0eea92f40a Start 1.11 dev cycle. 2025-02-25 19:48:34 +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
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
modmuss50
40d17bacee Update to Gradle 8.12 2024-12-23 14:19:32 +00:00
modmuss50
d9349c57e1 Bump version 2024-12-23 14:19:26 +00:00
modmuss
e387514ff7 Update to Gradle 8.11 (#1214)
* Update to Gradle 8.11

* Fix 8.12 producing empty outputs

* More 8.12 fixes
2024-11-14 18:44:05 +00:00
modmuss
4fef156888 Update to Gradle 8.10 (#1157)
* Update to Gradle 8.10

* 8.10 for real
2024-08-15 14:29:18 +01:00
modmuss50
7e10b48751 Start 1.8 dev cycle 2024-08-12 13:08:53 +01:00
modmuss
097fd98fc9 Update to Gradle 8.8 (#1125) 2024-06-14 08:49:47 +01:00
modmuss50
e621e340f8 Don't publish snapshots for experimental versions 2024-05-17 17:23:33 +01:00
modmuss50
6c7ef44489 Publish experimental versions to maven 2024-05-17 17:19:25 +01:00
modmuss
5b7d598d02 More work towards config caching support (#1115) 2024-05-05 10:21:36 +01:00
modmuss
9a3b82c8a3 Initial config caching work (#1053) 2024-04-15 18:56:59 +01:00
modmuss50
24a38025cf Bump version 2024-04-10 09:09:06 +01:00
modmuss
c60b456f7e Print info about locked files during configuration or genSources (#1066)
* Print info about locked files during configuration or genSources

* Use release version

* Output adjustments

* Fix build

* Add user back
2024-03-11 21:16:46 +00:00
modmuss
0dc1ba012a Update deps (#1054) 2024-02-24 15:04:56 +00:00
modmuss50
f26c49c36f Disable DebugLineNumbersTest in CI tests. 2024-02-03 23:25:06 +00:00
modmuss50
ac3fa8d410 Start on Loom 1.6 2024-02-02 18:16:46 +00:00
modmuss
c5d73548e7 Remove jackson (#1014)
* Remove jackson

* Fix unit tests
2024-01-02 22:35:37 +00:00
modmuss
b987b4e711 Always use unix line endings on windows (#986)
* Always use unix line endings on windows

* Also run checks on windows.

* Fix binary files :)
2023-11-23 22:36:57 +00:00
modmuss50
a60928ab28 Start on 1.5 2023-11-02 19:21:52 +00:00
modmuss
71b7bea854 Support the Vineflower decompiler (#951) 2023-09-11 11:29:01 +01:00
modmuss
3a090917ff Update to Gradle 8.3, and update all other deps. (#946)
* Update to Gradle 8.3, and update all other deps.

* Fix tests

* Lazily download decompilers, generate version constants to ensure they are synced between the build and Gradle.

Each decompiler has a configuration, this allows the version to be changed at a later date if needed.

* Fix typo :)

* Oh so many versions
2023-08-24 10:18:25 +01:00
modmuss50
fc9041a071 Start on Loom 1.4 2023-08-22 22:52:10 +01:00
modmuss50
cfe72b933a Improve Kotlin version detection 2023-07-06 13:06:07 +01:00
modmuss
a2b541818c Apply AW as a TR AnalyzeVisitor (#892)
* Apply AW as a TR AnalyzeVisitor

* Update TR
2023-06-23 15:29:24 +01:00
modmuss
4e593fc5ae Rework how unpick and linenumber maps are applied (#907)
This should hopefully vastly improve debugging, and more imporantly not work in a consistant manner, making debugging issues a lot easier.

This commit contains an intergration test that uses a real debugger to check that breakpoints are being fired as expected.
2023-06-16 21:55:04 +01:00
modmuss
856f0a4f33 Fix and validate kotlin version. (#903) 2023-06-13 18:31:02 +01:00
modmuss50
5c92ebd20b Loom 1.3 2023-06-13 11:10:08 +01:00
modmuss50
89d09600c5 Rewrite Kotlin metadata remapping to support the latest kotlin metadata library. (#866) 2023-04-17 23:46:45 +01:00
modmuss50
1015ef09ff Update to Gradle 8.1 (#864)
* Update to Gradle 8.1

* Fix build, run RunConfigTest against all gradle versions.

* Fix build
2023-04-17 13:49:49 +01:00
modmuss50
95a260d923 Test against Gradle 8.1 and 8.2 nightly. (#846) 2023-04-16 17:19:21 +01:00
modmuss50
9e7458f76a 1.2 2023-04-16 14:46:50 +01:00
modmuss50
ad7d4e75b9 Reformat groovy code (#850)
* Reformat groovy

* Also format gradle files

* Groovy import order
2023-03-31 10:22:58 +01:00
modmuss50
b22c66f0be Update dependencies 2023-01-22 13:34:28 +00:00
js6pak
8a434af084 Remove unnecessary publication (#619) 2023-01-16 19:09:06 +00:00
modmuss50
63ecb88082 Gradle 8 tests, perf/memory optimisations (#796)
* Add gradle 8 tests
Reuse gradle home between tests
Misc perf and mem optimisations

* Fix build warning.

* Added multi mc version test

* Use server launcher in ServerRunner

Co-authored-by: Luna <62033805+Luna5ama@users.noreply.github.com>
2023-01-16 18:39:26 +00:00
modmuss50
e16d9b0fa2 Update mercury, use the java release version to set the merucry source compat version (#773) 2022-12-16 10:48:58 +00:00
modmuss50
b4155a9450 Small build updates.
Java toolchains aren't support on ARM64 windows. Waiting on https://github.com/gradle/gradle/issues/21703
2022-11-01 21:49:22 +00:00