Commit Graph

2356 Commits

Author SHA1 Message Date
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
Juuz
07f91bfd0b Add TODO comment that explains #258 2025-02-06 19:54:33 +02:00
Jab125
127345ea7e Fix 1.21.4 NeoForge datagen (#258) 2025-02-06 19:52:13 +02: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
modmuss
cd6e7a3e28 Run tests with latest nightly (#1255) 2025-01-26 18:30:37 +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
modmuss
8b6658c559 Production run tasks (#1241)
* Production run tasks

* Fix

* Add some docs
2025-01-02 14:25:32 +00:00
modmuss
c46e252643 Add DSL to configure Fabric API game tests (#1240)
* Add DSL to configure game tests

* Small cleanup

* More work
2025-01-02 14:25:20 +00:00
modmuss
454e32ece7 Refactor Fabric API extension (#1238)
* Refactor Fabric API extension

* Fix

* Fix

* Even more cleanup
2025-01-01 14:25:54 +00:00
Space Walker
543d0a3d10 create backup jars for legacy merged mapped minecraft providers (#1230)
* create backup jars for legacy merged mapped mc providers

* only merge jars if remapping occurred

* Cleanup + add logger

* Fixes

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-12-29 15:57:45 +00:00
Space Walker
44ca4b8b8a Run library processor for server-only projects for Minecraft versions without bundle metadata (#1231)
* run library processor for server-only projects without  bundle metadata

* implement suggested changes
2024-12-29 15:57:11 +00:00
modmuss
cc51c64c37 Fix #1229 (#1237) 2024-12-29 15:56:17 +00:00
Jamalam
24c82013af fix: use NullOutputStream.NULL_OUTPUT_STREAM rather than NullOutputStream.INSTANCE (#256)
Fixes an issue I was encountering where NullOutputStream.INSTANCE did not exist - unsure why it did not, but this change doesn't change anything since INSTANCE and NULL_OUTPUT_STREAM are the same, and other parts of the code base already use NULL_OUTPUT_STREAM
2024-12-24 19:10:54 +08:00
tranquillity-codes
3fce2627d6 Make LineNumberRemapper stop trying to guess line numbers (#1235)
Usually the guesses were wrong, so instead let's not generate a
LineNumberTable for lines that lack a mapping in the linemap. This makes
the behavior on decompiler bugs/issues more predictable.
2024-12-23 15:57:57 +00:00
modmuss
2ba633badf Download source artifacts in parallel (#1232) 2024-12-23 14:24:39 +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
Juuz
02a29e41e7 Publish 1.9 2024-12-07 16:24:56 +02:00
Juuz
33357330e2 Disable more broken useLegacyMixinAp checks on Forge 2024-12-07 14:56:39 +02:00
Juuz
eb593da0f0 Disable useLegacyMixinAp check in getDefaultRefmapName()
Fixes #242.
2024-12-07 14:07:23 +02:00
Juuz
aafd69b472 Read loader access transformers from userdev config (#254)
Fixes #253. MinecraftPatchedProvider now respects the userdev config's AT declaration.
It also only tries to find the ATs from the userdev jar as a slight optimisation.
2024-12-07 13:55:37 +02:00
Juuz
e60a330625 Delete MappingsProviderVerbose 2024-12-07 01:29:53 +02:00
Juuz
4f69853eff ModBuildExtensions: Fix code style 2024-12-07 00:23:38 +02:00
Juuz
1e32c76dc1 MultiMcVersionTest: Fix code style 2024-12-07 00:15:30 +02:00
Juuz
ea3d34b6c5 RemapJarTask: Support config cache for Aw2At 2024-12-07 00:08:13 +02:00
Juuz
ef2f09a4c0 ForgeRunConfigTest: Don't use config cache
The custom adhoc tasks don't support it and it's not worth it
to rewrite them.
2024-12-07 00:07:59 +02:00
Juuz
1b3dc0f498 MultiMcVersionTest: Check for a different message 2024-12-06 23:59:13 +02:00
Juuz
3a7f28cf86 LoomGradleExtensionApiImpl: Fix code style 2024-12-06 23:37:17 +02:00
Juuz
8ae10cc68d Use GradleUtils.getProperty instead of Project.findProperty for reading platform 2024-12-06 23:36:42 +02:00
Juuz
598ef19370 Make Forge tools compatible with config cache 2024-12-06 23:20:04 +02:00
Juuz
1837cd7d3c ForgeToolExecutor: Fix deprecations 2024-12-06 21:48:38 +02:00
Juuz
ca036bce5f PatchedDecompileTest: Disable config cache 2024-12-06 21:27:09 +02:00
Juuz
6ba501d2a4 MultiMcVersionTest: Fix plugin id 2024-12-06 21:27:08 +02:00
Juuz
1873ab04a2 ArtifactMetadata: Only query property if project is nonnull 2024-12-06 21:27:02 +02:00
Juuz
fd69c49cb4 Fix code style
Checkstyle wants to be my enemy.
2024-12-06 20:29:39 +02:00
Juuz
39f351ce8f RemapJarTask: Make modPlatform property match other tasks 2024-12-06 20:25:22 +02:00
Juuz
b1ffa06e30 Support config caching in all vanilla Loom tasks 2024-12-06 20:24:16 +02:00
Juuz
ba287b469f RemapJarTask: Support config caching 2024-12-06 20:19:44 +02:00
Juuz
949a693b69 MigrateMappingsService: Add platform ns MC jars to classpath 2024-12-06 19:54:55 +02:00
Juuz
f9acc1a090 Merge remote-tracking branch 'architectury/dev/1.7' into exp/1.9 2024-12-06 19:49:27 +02:00
Juuz
a75a1f0ddb Fix checkstyle errors 2024-12-06 19:46:44 +02:00
Juuz
a91ba09a1e Fix compilation errors 2024-12-06 19:45:19 +02:00