Commit Graph

1640 Commits

Author SHA1 Message Date
Juuz
16e1eda2c6 Merge with Fabric 1.1, stage 7 2023-02-16 20:59:03 +02:00
Juuz
1d6d7b5489 Merge commit 'af21d602' into exp/1.1 2023-02-16 20:46:17 +02:00
Juuz
db8ef472cc Merge with Fabric 1.1, stage 5 2023-02-16 20:45:08 +02:00
Juuz
8f5c5c773c Merge with Fabric 1.1, stage 4 2023-02-16 17:35:35 +02:00
Juuz
0314829e26 Merge with Fabric 1.1, stage 3 2023-02-16 01:02:58 +02:00
Juuz
4e9b50fcbc Merge with Fabric 1.1, stage 2 2023-02-16 01:00:05 +02:00
Juuz
81d1f5d562 Merge with Fabric 1.1, stage 1 2023-02-16 00:53:48 +02:00
Juuz
3bae7bf8b0 Update forge runtime to 1.1.4 2023-02-07 19:48:42 +02:00
Juuz
40144c176f Fix code style 2023-01-21 13:19:41 +02:00
Juuz
5fbf3f4693 Delete temp files in Forge-related code after use
Windows doesn't remove them automatically, so we shouldn't let
them stay around after we're done using them.
2023-01-21 13:19:02 +02:00
modmuss50
7f06b64693 Fix issue caused in previous commit. 2023-01-16 21:53:44 +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
0c68994aa6 Fix #755 2023-01-16 18:38:16 +00:00
modmuss50
2d10e42f4d Fix broken etag handling. Maybe fixes #802 2023-01-16 18:25:59 +00:00
modmuss50
2b9072f37d Add RemapConfigurationSettings.getApplyDependencyTransforms to close #797 (#799) 2023-01-16 18:19:48 +00:00
Juuz
cf68a6eb1e Merge remote-tracking branch 'upstream/dev/1.0' into dev/1.0 2023-01-16 19:56:25 +02:00
modmuss50
7586911af8 Fix #789 2023-01-11 19:36:24 +00:00
modmuss50
60d4dac6ca Support MinimalExternalModuleDependency's as a FileSpec input (#785) 2023-01-11 10:54:03 +00:00
modmuss50
da4b01427f Move access widener jar processor for new processor API. (#787) 2023-01-10 23:19:21 +00:00
Vladimir Romashchenko
af21d602e9 fix: Colored logging in neovim (#795) 2023-01-10 18:07:23 +00:00
modmuss50
e9362b75d9 Merge remote-tracking branch 'origin/dev/1.0' into exp/1.1
# Conflicts:
#	src/main/java/net/fabricmc/loom/util/Constants.java
2023-01-10 18:05:16 +00:00
Juuz
93d3b4c1bd Slightly clean up ModProcessor and SourceRemapper 2023-01-08 22:20:01 +02:00
Juuz
bb904a5a5d Improve ModMetadataFile
- Add ModMetadataFile.fromJar
- Add ModMetadataFile.getId and getFileName
- Document the code
- Move AccessWidenerFile to ModMetadataFile
2023-01-07 15:05:53 +02:00
Juuz
f2c0d7a35d Split Architectury extensions to Fabric classes into new classes (#116)
* Split custom RemapJarTask logic into a new class

* Split a lot of logic for Arch and Quilt mod metadata into new classes

* ArchitecturyCommonJson: Fix outdated error message

* Add minimal unit tests for ACJ and QMJ

* QuiltModJson: Fix error when there are no injected interfaces

* QuiltModJsonTest: Add test for mixin configs

* QuiltModJsonTest: Move to correct package

* Add tests for creating ACJ and QMJ instances
2023-01-07 01:51:32 +02:00
modmuss50
fea5fee15f Fix #790 (#791) 2023-01-06 10:58:26 +00:00
modmuss50
912e54cd7a Disallow insecure protocols for downloads. (#784) 2023-01-03 14:11:16 +00:00
modmuss50
69d25b7f60 Include projects in jar processor inputs (#771)
* Include projects in jar processor inputs

* Add option to disable + tests
2022-12-30 15:09:30 +00:00
modmuss50
2c6d4d930f Add getClientOnlySourceSetName (#770) 2022-12-30 13:06:12 +00:00
modmuss50
b79b64298b Update mercury (#777) 2022-12-18 15:59:53 +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
a465cb71e6 Update to 8.1 nightlys 2022-12-11 20:39:09 +00:00
modmuss50
39be6fa6e0 Merge remote-tracking branch 'origin/dev/1.0' into exp/1.1
# Conflicts:
#	src/main/java/net/fabricmc/loom/build/mixin/AnnotationProcessorInvoker.java
#	src/main/java/net/fabricmc/loom/task/AbstractRemapJarTask.java
2022-12-11 20:31:07 +00:00
modmuss50
aef884d005 Add mixin mappings as compile task outputs (#768)
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2022-12-11 18:27:37 +00:00
modmuss50
be4e7a42a3 Fix getRuntimeRemapConfigurations() returning the wrong classpath. (#769) 2022-12-11 18:26:39 +00:00
Juuz
8dad64dc66 Merge remote-tracking branch 'upstream/dev/1.0' into dev/1.0 2022-12-11 15:40:24 +02:00
Juuz
892da2826a Fix source_roots property ordering for Forge 1.16.5
Resources have to come first since it expects mods.toml to be there.
2022-12-11 15:38:33 +02:00
Juuz
34c24cde3c Add ModSettings.sourceSet overloads taking source set names (#765)
Closes #764. Also fixes some minor stuff in the javadocs of sourceSet().
2022-12-09 08:50:21 +00:00
Juuz
ec76760ca4 Clear Fernflower context after decompiling (#760) 2022-12-09 08:49:43 +00:00
Juuz
09da2cd04e Fix IdeaClasspathModificationsTest 2022-12-04 23:01:09 +02:00
Juuz
8be10a8821 Remove our old env var key from idea_run_config_template.xml 2022-12-04 21:39:04 +02:00
modmuss50
7173c2a6cb Add AbstractRemapJarTask.getAdditionalClientOnlyEntries 2022-11-21 19:24:21 +00:00
modmuss50
2a5947de0b Return a map of all class tweakers in FabricModJson 2022-11-08 20:46:49 +00:00
modmuss50
aedfd09657 Read "Fabric-Loom-Remap" manifest entry to allow an artifact to control if its remapped or not. (#749)
This allows for none mod jars to opt-into remapping, as well as mods or mod loaders to opt-out.

Setting "Fabric-Loom-Remap" to true/false in the jar's manifest.
2022-11-04 19:29:10 +00:00
Phoenix-Starlight
03e1369adc Patch download to work with symlinks (#736)
* Fix Download to work with symlinks

- Create SymlinkWalker
    * isPathSymbolic for whether any part of the path is symbolic, existing or not.
    * getRealPath for obtaining absolute, real path.
- Change Download to use SymlinkWalker
- Add in a new test for testing with symlinks

* Refactor
Switch to using Guava method for creating directories

* Fix import

* Alter test and fix arguments

* Forgot a def

* Fix method argument

* Change argument to child file

* Bump
2022-11-03 18:26:49 +00:00
modmuss50
ddf4605845 Ensure minecraft provider names are lowercase. 2022-11-03 18:26:09 +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
modmuss50
f87320fae8 Add multi project optimisation option to allow opt into shared tiny remapper. (#747)
* Add multi project optimisation option to allow opting into shared tiny remapper.

* Review feedback and fixes
2022-11-01 21:36:41 +00:00
Juuz
e48a7124f5 Add LoomGradleExtensionAPI.getRuns() for consistency with runs() (#748)
* Add LoomGradleExtensionAPI.getRuns() for consistency with runs()

* Improve jd
2022-11-01 19:31:03 +00:00
Juuz
5054cc6c60 Publish 1.0 1.0 2022-10-30 16:46:15 +02:00