Juuz
5f6891992a
Merge remote-tracking branch 'upstream/exp/1.13' into dev/1.13
...
# Conflicts:
# build.gradle
# gradle/libs.versions.toml
# src/main/java/net/fabricmc/loom/LoomGradleExtension.java
# src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java
# src/main/java/net/fabricmc/loom/extension/LoomGradleExtensionApiImpl.java
# src/main/java/net/fabricmc/loom/extension/LoomGradleExtensionImpl.java
# src/main/java/net/fabricmc/loom/task/RemapJarTask.java
2025-11-03 13:51:55 +02:00
modmuss
e41982c51e
Migrate mapping improvements. ( #1416 )
...
* Migrate mapping improvements.
* Revert to old logic
* Fix
* Add --overrideInputsIHaveABackup
* Skip task when input is empty
* Fix again
* Update MM
2025-11-01 08:25:46 +00:00
modmuss50
2e16a97f08
Merge remote-tracking branch 'origin/dev/1.12' into exp/1.13
2025-10-31 22:31:51 +00:00
Juuz
4fb75cf336
Include source mapping hash in decompiler cache key ( #1414 )
...
* Include source mapping hash in decompiler cache key
Fixes #1410 .
* Mark source mappings hash property as optional, improve name
2025-10-31 21:38:25 +00:00
modmuss
0e2fc99eb1
Add back getModSourceSets(), as its used by mc dev to do nothing. ( #1415 )
2025-10-31 21:34:31 +00:00
modmuss50
f7321abfd5
Fix ordering of mercury processors
2025-10-31 14:52:24 +00:00
modmuss
1f1448fd19
Add mercury mixin to migrate mappings task. ( #1413 )
2025-10-31 13:16:27 +00:00
modmuss50
3575bf3715
Merge remote-tracking branch 'origin/dev/1.12' into exp/1.13
2025-10-31 11:52:47 +00:00
Juuz
f8a465377c
Fix using Enigma mappings with mod-provided javadoc ( #1411 )
...
- Fixes using formats with inherently multiple namespaces
by actually only checking for the presence of dst names
instead of dst namespaces.
- Fixes using formats without namespace ids by replacing
the fallback namespaces with intermediary and named.
2025-10-31 11:52:23 +00:00
modmuss
577e5c8bfd
Add 'fabric.loom.disableObfuscation' property to disable all remapping. ( #1409 )
...
* Add 'fabric.loom.disableObfuscation' property
* More work, the test passes now.
* Fix
2025-10-30 20:11:52 +00:00
Juuz
5892364fdf
Make remapping tasks use the archive file from the Jar API ( #1406 )
...
* Make remapping tasks use the archive file from the Jar API
Other minor changes:
- Exception messages now include the absolute path of
the jar file
- RemapSourcesJarTask now also uses descriptive wrappers
instead of a direct new RuntimeException(...)
* Stop overriding Jar.copy with a no-op
* Add test for using Jar's API on remapJar and remapSourcesJar
2025-10-30 20:10:47 +00:00
feenko
04995cbcf9
Fix FMJ generator not resolving dependencies correctly with exactly one version range ( #1408 )
2025-10-30 15:54:17 +00:00
modmuss50
371bfe905a
Start on 1.13
2025-10-30 07:44:02 +00:00
Juuz
7396be9d31
ForgeRunConfigTest: Remove outdated test for MOD_CLASSES
2025-10-29 16:22:30 +02:00
Juuz
abc38b5921
Fix export classpath task config in the companion plugin
...
The mod platform cannot be stored in companion projects,
so it's marked optional.
2025-10-29 16:20:15 +02:00
Juuz
e0be5bf488
Update to Unprotect 2.0.2
...
Fixes #305 .
2025-10-29 16:17:19 +02:00
Juuz
0629aabe8a
Fix plugin IDs in tests
2025-10-29 15:25:28 +02:00
Juuz
e9f0c8dda2
Fix compilation error in tests
2025-10-29 15:15:33 +02:00
Juuz
24ffed6f9e
Update to Unprotect 2.0.1
...
Fixes #304 by removing transitive loader/ModLauncher deps.
2025-10-29 15:11:33 +02:00
Juuz
6a9f5cec3f
Port Forge run templates to the new classpath group system
2025-10-29 15:08:31 +02:00
Juuz
f038ad586f
FabricModJsonFactory: Fix compilation error
2025-10-29 15:04:33 +02:00
Juuz
a1594dd322
Port Aw2At to class-tweaker
2025-10-29 15:04:16 +02:00
Juuz
c9566b02b0
Rename companion plugin to dev.architectury.loom-companion
2025-10-29 12:33:30 +02:00
Juuz
1479c65cc5
Merge remote-tracking branch 'upstream/dev/1.12' into exp/1.12
...
# Conflicts:
# build.gradle
# src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java
# src/main/java/net/fabricmc/loom/configuration/mods/AccessWidenerAnalyzeVisitorProvider.java
# src/main/java/net/fabricmc/loom/extension/LoomGradleExtensionApiImpl.java
# src/main/java/net/fabricmc/loom/extension/MixinExtensionApiImpl.java
# src/main/java/net/fabricmc/loom/extension/MixinExtensionImpl.java
# src/main/java/net/fabricmc/loom/task/launch/GenerateDLIConfigTask.java
# src/main/java/net/fabricmc/loom/util/gradle/GradleUtils.java
# src/main/resources/log4j2.fabric.xml
# src/test/resources/projects/multiproject/build.gradle
2025-10-29 12:31:21 +02:00
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
c08bfbe5be
Warn when the project is stored in OneDrive ( #1402 )
...
* Warn when the project is stored in OneDrive
This is a large source of random errors we see in the support channels.
* Dont event check if it exists
2025-10-23 22:19:33 +01:00
modmuss
36cf73997f
Make the intergration tests easier to debug ( #1401 )
...
* Make the intergration tests easier to debug
* Spotless
2025-10-23 19:25:17 +01:00
modmuss
692ab93693
Support depending on type safe projects. ( #1399 )
2025-10-23 08:54:46 +01:00
modmuss50
e67de3f9af
Export runtime jars from companion projects.
2025-10-22 23:20:14 +01:00
modmuss
2a47c835d1
Fix exporting the dev jar path in a projects classpath. ( #1397 )
2025-10-22 21:28:57 +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
Joseph Burton
b2c933d2c0
Add annotations apply integration test ( #1396 )
2025-10-17 11:30:39 +01:00
Joseph Burton
3783f41ef3
Fix annotations not being applied in a project outside Enigma ( #1395 )
2025-10-15 21:52:49 +01:00
Joseph Burton
5656d41792
Apply record component annotations to getter methods and canonical constructor parameters ( #1394 )
2025-10-15 17:10:16 +01:00
Joseph Burton
501070a47a
Make annotations data a bit nicer to use ( #1391 )
...
* Make annotations data a bit nicer to use
* Add copy constructors
2025-10-08 12:01:23 +01:00
Juuz
5250e9fb85
Fix invisible log levels being enabled in the log4j config ( #1388 )
...
The previous level made loggers report that e.g. the trace
level is always enabled which is clearly wrong.
2025-10-06 22:00:03 +01:00
modmuss
fd2f807647
Only warn when attempting to configure the disabled mixin AP ( #1387 )
2025-10-05 19:18:57 +01:00
modmuss50
3d2a080242
Invalid remapped sources when using refresh dependencies.
...
Closes #1142
2025-10-05 18:07:27 +01:00
modmuss
ccb923d533
Fix remapping Kotlin classes containing $. ( #1385 )
...
* Fix remapping Kotlin classes containing $.
Closes #1363
* spotless
2025-10-05 17:58:10 +01:00
modmuss
53a99f8603
Fix progress logger ( #1386 )
2025-10-05 17:57:56 +01:00
modmuss
4eac2e7845
Fix CRF decompile failing on c0.30 ( #1384 )
...
- ClassLineNumbers.readMappings throws a nicer error when the input data is empty.
- GenerateSourcesTask include linemap filename when failed to read.
- CRF decompiler wont write empty linemap data.
- Add test
2025-10-05 17:15:49 +01:00
modmuss
d611d7f1b3
Replace TCA with forked fabric-log4j-util ( #1375 )
...
* fabric-log4j-util
* Update
2025-10-05 16:28:12 +01:00
modmuss
e2639f9e27
Improve loom.mixin error message now that the AP is disabled by default. ( #1383 )
2025-10-05 16:26:37 +01:00
modmuss
c97f9e4454
Update to ASM 9.9 ( #1382 )
2025-10-05 10:18:30 +01:00
modmuss
2dd467bdb7
Remove isRootProject from extension as it can hide Project.getRootProject when in the loom extension block. ( #1381 )
2025-10-05 09:53:49 +01:00
Joseph Burton
dd90d7bd29
Add AnnotationsDataValidator ( #1379 )
...
* Add AnnotationsDataValidator
* Use Constants.ASM_VERSION
2025-10-03 18:08:09 +01:00
KikuGie
7f95c3c60f
Make fabric.mod.json path configurable at configuration stage. ( #1364 )
...
* Add `fabric.mod.json` path property.
* Add path provider integration tests.
* Separate fabric.mod.json reading methods and move selection to the helper method.
* Separate FMJ getter methods and add configuration to datagen and testmod settings.
* Remove the `fabricModJsonPath` property from Fabric API source sets
* Address review requests by fixing formatting and removing redundant changes
* Fix build
* Move tests to existing file, and remove var usage.
* Fix build :)
---------
Co-authored-by: modmuss50 <modmuss50@gmail.com >
2025-10-03 10:16:17 +01:00
modmuss
103db759f6
Fix SpecContext always resolving mod dependencies with the runtime attribute. ( #1378 )
...
Likely fixes #1334
2025-10-01 14:23:05 +01:00
modmuss
5f513b0efc
Add basic unit tests for SpecContext ( #1377 )
2025-10-01 11:27:14 +01:00
Juuz
74794ca7ec
StringConstantPatcher: Use Constants.ASM_VERSION
2025-10-01 11:14:56 +03:00