2104 Commits

Author SHA1 Message Date
shedaniel
c839826f09 Merge commit '9157c22448cb4847586772f8028010f717accc14' into dev/1.8 2024-11-16 20:23:13 +08:00
shedaniel
24e5aeb201 Merge commit '3c3225900123390868a718f5553d552bd0385000' into dev/1.8 2024-11-16 19:27:08 +08:00
shedaniel
abe3ef2ef2 Merge commit '5f52e1232f94a0210693bd52d6913ef5579714f3' into dev/1.8 2024-11-16 19:12:45 +08:00
shedaniel
c5065e8138 Add loom.ignoreDependencyLoomVersionValidation 2024-10-23 00:58:24 +08:00
Juuxel
dd761cc972 Merge remote-tracking branch 'upstream/dev/1.7' into dev/1.7 2024-09-13 21:50:17 +03:00
James Mitchell
36a199f3b8 Only validate loom version when mixins are to be remapped with TinyRemapper (#1168)
* Only validate loom version when mixins are to be remapped with TinyRemapper

* add tests

* change existing test to match new logic

* update "Valid loom version" test

* tabs for indentation, spaces for alignment

* fix more sneaky tabs
2024-09-08 10:52:32 +01:00
modmuss
9157c22448 Inital remap jar configuration cache support (#1161)
* Move everything to the new service system

* Checkstyle

* Fix unit tests + make them use the internet less

* Some more fixes

* Split the mixin ap mapping handling out into its own service.

* Checkstyle

* Fixes

* Move mixin refmap handling to a service

* Minor changes
2024-08-20 12:51:47 +01:00
modmuss
3c32259001 New service system for source jar remapping (#1160)
* New service system for source jar remapping

* Remove the class generation, its too complex and useless.

* Fix

* Tests and cleanup

* Add basic SourceRemapperService test

* Skip file property tests on windows.
2024-08-19 15:18:13 +01: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
Juuz
efe66075ba Include dev jars from other projects in classpath groups (#1155)
* Include dev jars from other projects in classpath groups

* Verify that projects use Loom before getting namedElements
2024-08-15 13:28:37 +01:00
modmuss
b533dacba8 Remove multi project optimisation (#1159)
* Remove multi project optimisation

* Fix build

* Fix FAPI test
2024-08-14 10:59:18 +01:00
shedaniel
c040cd39d7 Fix support for Forge 50+ (#227)
* Remap Forge dependency from mojang instead of srg

* Replace Union Relauncher with Bootstrap Dev

* Add mixins to forge 1206 test

* This should be forgelike
Why didn't this break unit tests?

* Replace with EnumMap

* Add version check for source roots separator

* Fix possible NPE

* Fix checkstyle in javadocs
such fun

* Fix codenarc styling

* fix usage

* remove hashcode and equals

* format code better
2024-08-13 00:19:41 +09:00
modmuss
5f52e1232f Configuration cache support for SourceSetHelper.findFileInResource (#1158)
* Configuration cache support for SourceSetHelper.findFileInResource

* Prove that config cache is working

* Misc improvements

* Fix tests on windows
2024-08-12 13:12:29 +01:00
modmuss
175015c03f Linux RISC-V support (#1154)
* Linux RiscV support

* Small improvement.

* Fix comments
2024-08-12 13:11:58 +01:00
modmuss50
7e10b48751 Start 1.8 dev cycle 2024-08-12 13:08:53 +01:00
modmuss
5f09e18f03 Make no loader warning an info log (#1152)
* Make no loader warning an info log

* Remove !
2024-07-31 18:48:18 +01:00
Jab125
8c2b72af72 Fix error when querying useLegacyMixinAp on a Forge project. 2024-07-18 22:06:12 +10:00
Juuz
9416fc1b0c Switch to "include" filter on Forge's repo (#226)
Fixes #221. The set of groups is sufficient to build Forge mods on 1.14-1.21 and should work for all other versions too.
2024-07-10 22:03:19 +03:00
Juuxel
351c5f7396 Merge remote-tracking branch 'upstream/dev/1.7' into dev/1.7 2024-07-09 13:09:03 +03:00
Jab125
5c2760da71 Remap NeoForge's mixins (#224) 2024-07-09 13:03:32 +03:00
modmuss
fa8bf5ede3 Fix and test writing uncompressed entries to zip files. (#1139)
* Fix and test writing uncompressed entries to zip files.

* Minor code cleanup
2024-07-04 17:51:41 +01:00
modmuss
462ba97d52 Fix crash in DownloadAssetsTask when there is no client run config. (#1137)
* Fix crash in DownloadAssetsTask when there is no client run config.

* Fix build
2024-07-04 17:51:41 +01:00
Juuz
f456190f71 NestableJarGenerationTask: Change superclass to AbstractLoomTask (#1136)
This fixes the task group.
2024-07-04 17:51:41 +01:00
Juuz
10a9e743fc Update to Union Relauncher 1.1.1 2024-07-03 16:48:39 +03:00
Juuz
10441e3985 Patch ModDirTransformerDiscoverer to not crash with UnionFS paths 2024-07-03 16:48:32 +03:00
Juuz
1033f250f2 Remove MappingOption.forPlatform
This fixes dep AT remapping on Forge 1.20.6+ - the filter
was choosing the wrong mapping option as it's only designed
for one extra namespace.

The optimisation isn't strictly needed. If it's added back
in the future, we need to make sure that ModProcessor gets
the full mapping tree.
2024-07-03 14:26:44 +03:00
Juuz
3f1d69bcde Unmark Quilt and NeoForge as experimental 2024-07-02 19:33:32 +03:00
Juuz
36f1992430 Publish 1.7 2024-07-02 19:32:46 +03:00
Juuz
c34e105756 NestableJarGenerationTask: Prepare Arch code for config cache 2024-07-02 17:53:03 +03:00
Juuz
995ef08858 NestableJarGenerationTask: Fix nesting data being in the wrong jar 2024-07-02 17:52:45 +03:00
Juuz
03672f3b46 Fix DLI task on Neo/Forge 2024-07-02 17:35:00 +03:00
Juuz
3f27a84700 Fix configuration cache test 2024-07-02 13:07:24 +03:00
Juuz
539a92f555 DependencyDownloader: Replace deprecated Gradle API 2024-07-02 01:57:28 +03:00
Juuz
564f432f3f Adjust unit tests for removed FabricModJsonFactory method 2024-07-02 01:48:49 +03:00
Juuz
a885d28aeb Add back missing TODO from 1.6 2024-07-01 23:49:49 +03:00
Juuz
b1ed6a4606 MappingConfiguration: Remove optimised merged v2 code path
This was leaving the broken "intermediary, named, official"
namespace order from layered mappings. While it could've been
fixed there, the optimised code path also lacked some fixes
to enclosing classes from MappingsMerger, so it's better to
use the "vanilla" code from Fabric.
2024-07-01 23:39:33 +03:00
Juuz
d29605ce33 Fix plugin id in composite build test 2024-07-01 23:19:10 +03:00
Juuz
79f0c86ec5 Stabilise RunConfigSettings.mods 2024-07-01 20:12:51 +03:00
Juuz
aab2acc3f8 Remove empty file 2024-07-01 20:12:19 +03:00
Juuz
4944d0f799 Remove special casing of Java 21 test 2024-07-01 20:06:38 +03:00
Jab125
9e4a70f742 Fix Forge 50 (1.20.6) (#219)
Co-authored-by: shedaniel <daniel@shedaniel.me>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2024-07-01 20:04:40 +03:00
Juuz
7dbd3c62e5 Disable exp publish by making it manual 2024-07-01 20:02:32 +03:00
Juuz
6f463e9751 Merge 1.7, part 4 2024-07-01 20:01:06 +03:00
Juuz
a0d33732a3 Merge 1.7, part 3 2024-07-01 19:55:25 +03:00
Juuz
db95e8af23 Fix Forge jij 2024-07-01 19:51:33 +03:00
Juuz
4ae4134b70 Merge 1.7, part 2 2024-07-01 19:28:43 +03:00
Juuz
6f08fa51ec Merge 1.7, part 1 2024-07-01 19:20:21 +03:00
modmuss
097fd98fc9 Update to Gradle 8.8 (#1125) 2024-06-14 08:49:47 +01:00
modmuss50
eacd6fbc5f Don't throw when loom was unable to stop the worker, as it may have already been stopped by Gradle. 2024-06-13 22:14:37 +01:00
modmuss
ed8ca12c53 No longer trick gradle into thinking loom is signed. (#1123) 2024-05-29 14:39:08 +01:00