2187 Commits

Author SHA1 Message Date
Juuz
0a01b53088 Deprecate 1.9 2025-08-18 20:58:30 +03:00
Juuz
c61a6a2956 RemapJarTask: Delete output if it exists to prevent ghost files
Fixes FabricMC#1270. This changed isn't necessary for
RemapSourcesJarTask as SourceRemapperService already deletes
the output.
2025-03-04 20:42:47 +02:00
Juuz
7204a7d4f3 Fix DLI not applying to multiword NeoForge envs like dataClient
Fixes #268. All the environments are now lowercase which should
be fine.

Additionally, reverts commits 127345ea and 07f91bfd
since the workaround is no longer needed and causes a crash.
2025-03-04 18:27:24 +02: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
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
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
Juuz
09174f0ad3 Merge 1.9 2024-12-06 19:35:18 +02:00
Juuz
77e79991fb Merge 1.8, part 9 2024-12-06 19:32:12 +02:00
Juuz
b263a7c537 Merge 1.8, part 8 2024-12-06 19:29:53 +02:00
Juuz
3f115f6b31 Merge 1.8, part 7 2024-12-06 19:28:25 +02:00
Juuz
2cc6e59f60 Merge 1.8, part 6 2024-12-06 19:26:31 +02:00
Juuz
444354d932 Merge commit 'd18c109e58aacb14fb322ca648c5f8523658e8e2' into exp/1.8 2024-12-06 19:25:15 +02:00
Juuz
a7481deba7 Merge commit '039b435e5dbdfe757317da8911cd78bcd18237ae' into exp/1.8 2024-12-06 19:24:20 +02:00
Juuz
bced22e9e8 Merge 1.8, part 5 2024-12-06 19:24:12 +02:00
Juuz
a68e671678 Merge 1.8, part 4 2024-12-06 19:21:07 +02:00
shedaniel
689ba0b8b9 Include a very bad workaround for NeoForge 1.21.4, we will revert this once we fix DLI
DLI fails to parse the launch.cfg with clientDataArgs as keys when reading as client, since it would try to recognise what DataArgs is, when it is not even its entry.

This is a temporary fix.
2024-12-04 02:23:35 +08:00
modmuss
c80333b2bd Fix client data gen source set not depending on main when using split sources (#1228)
* Fix client data gen not depending on main when using split sources

* Also don't delete datagen output on clean

* Checkstyle
2024-12-02 18:02:37 +00:00
modmuss50
1d0946f55b Fix datagen task output 2024-11-30 12:22:37 +00:00
modmuss
0769601cfe Configure classpath groups for test task. (#1227)
* Configure classpath groups for test task.

Closes #1192

* Fix missing patch

* Fix test
2024-11-29 17:09:30 +00:00
modmuss
7cc7cb0c15 Allow datagen tasks to be skipped when up to date. (#1226)
Fixes #1135
2024-11-29 09:50:14 +00:00
Jason Penilla
e5ad4e186c Fix getKnownIndyBsms storing a set in a list without sorting (#1225)
* Cache source mappings (#1220) (#1221)

* Fix getKnownIndyBsms storing a set in a list

This caused remapJar to re-run unnecessarily

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
2024-11-29 09:15:00 +00:00
modmuss
c4e2679e24 Add option to configure datagen with the client. (#1224)
* Add option to configure datagen with the client.

* Revert nightly upgrade
2024-11-28 20:18:25 +00:00
modmuss
38cff6d2bb Make ExceptionUtil & DaemonUtils config cache safe. (#1223)
* Make ExceptionUtil & DaemonUtils config cache safe.

* Fix tests

* Fix build
2024-11-28 15:00:01 +00:00
Liyan Zhao
758dcb748d fix: ignore some very very old kotlin classes to prevent them breaking remapping process (#1210)
* fix: ignore some very very old kotlin classes to prevent them breaking remapping process. Why? 7c539b01f5/libraries/kotlinx-metadata/jvm/src/kotlin/metadata/jvm/KotlinClassMetadata.kt (L427)

* fix: review suggestions
2024-11-28 10:40:39 +00:00
modmuss
816d778e61 Use the stable kotlin-metadata (#1222)
* Use the stable kotlin-metadata since Kotlin 2

* More fixes

* Fix build

* Fix unit test
2024-11-28 10:39:14 +00:00