1853 Commits

Author SHA1 Message Date
Juuz
c3dded0649 Merge remote-tracking branch 'upstream/dev/1.1' into dev/1.1
# Conflicts:
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/SingleJarMinecraftProvider.java
2023-02-19 01:37:05 +02:00
Caoimhe
83b968df64 Warn when using clientOnlyMinecraftJar() on Minecraft versions newer than 1.3 (#824)
Single JARs break things like source generation on newer versions and
pretty much have no difference there, so we should log a warning,
similar to what we do for merged JARs not being supported on 1.2.5 or
older.
2023-02-18 21:04:17 +00:00
modmuss50
4a11cbae07 Test against Gradle 8 (#828)
* Test against Gradle 8

* Update
2023-02-18 21:04:17 +00:00
modmuss50
ab114b5d7a Fallback to HTTP 1.1 on the last retry when downloading. (#829) 2023-02-18 21:04:17 +00:00
Juuz
b19184751b Add toString to ModSettings and RemapConfigurationSettings (#831)
This helps a bit with debugging code that uses them as you don't
have to open the object to see which mod/remap configuration we're
investigating.
2023-02-18 21:04:17 +00:00
Juuz
978f9dcb0f Clean up SRG mapping trees and TinyRemapperHelper (#118)
- Instead of a TinyMappingsService holding two files (normal + srg),
  each file gets its own tiny mappings service.
- Allow using SRG mappings in MinecraftJarProcessor impls
  via ProcessorContext.
- Reverts most of our extensive changes to TinyRemapperHelper, they're not
  necessary anymore.
- Restores a missing mapping namespace check to
  TinyRemapperHelper.getTinyRemapper.
2023-02-18 20:39:00 +02:00
Juuz
d28db4ca3a Remove accidental leftover RunConfigSettings.envVariables map
Not a breaking change since it wasn't a documented/intentional API
and didn't do anything.
2023-02-18 19:32:19 +02:00
Juuz
b8a2828582 Tweak publications to match upstream more closely
- Removes one duplicate publication (plugin), it already exists in the
  gradle plugin development plugin.
- Removed some minor differences in the snapshot publications to match
  upstream to reduce merge conflicts.
2023-02-18 18:22:21 +02:00
Juuz
d735945581 workflows/publish: Add dev/1.1 to published branches 2023-02-18 18:14:30 +02:00
Juuz
3fed53ac21 LoomGradlePlugin: Add beta log message 2023-02-18 18:13:58 +02:00
Juuz
e5413a86f0 QuiltModJsonTest: Test custom values 2023-02-18 14:55:22 +02:00
Juuz
319b7a5fed FabricModJson: Make hashCode final again
Fixes ModAccessWidenerEntryTest.
2023-02-18 14:05:19 +02:00
Juuz
ae4fe17cca ForgeTest: Clean up formatting 2023-02-18 03:22:52 +02:00
Juuz
6a3b854128 ModProcessor: Clean up stopwatch log message 2023-02-18 03:21:43 +02:00
Juuz
1ebd0222dd Fix code style 2023-02-18 03:11:08 +02:00
Juuz
3ce048d748 GenerateForgePatchedSourcesTask: Check that there are no jar processors
Fixes #110.
2023-02-18 03:10:24 +02:00
Juuz
1b1c6b5f93 GenerateForgePatchedSourcesTask: Use ScopedSharedServiceManager 2023-02-18 02:39:12 +02:00
Juuz
7fece953a4 GenerateSourcesTask: Use ScopedSharedServiceManager like upstream code 2023-02-18 02:37:28 +02:00
Juuz
f34be9d221 AccessTransformerJarProcessor: Port to new MinecraftJarProcessor API
Also rewrote the temp file handling to use TempFiles.
2023-02-18 02:35:49 +02:00
Juuz
c3ec931ebe Add no-op mods.toml ModMetadataFile type for local mod detection 2023-02-18 02:34:10 +02:00
Juuz
24956b456f Add working hash codes to ModMetadataFile and ModMetadataFabricModJson 2023-02-18 02:00:38 +02:00
Juuz
51cd14e573 ForgeTest: Test MCP mappings 2023-02-18 01:38:29 +02:00
Juuz
f07507a285 QuiltModJsonTest: Test having multiple access wideners 2023-02-17 23:39:18 +02:00
Juuz
33f0f5ca4a Fix QuiltModJsonTest 2023-02-17 23:38:36 +02:00
Juuz
2a74dad857 workflows/test: Update the rest of the artifacts from v2 to v3
No clue how I missed them all :face_palm:
2023-02-17 23:36:33 +02:00
Juuz
14d45db146 GradleUtils: Fix plugin ID in isLoomProject 2023-02-17 22:20:11 +02:00
Juuz
3c06d2e6a6 CompileConfiguration: Fix bad code ordering from merge 2023-02-17 22:05:40 +02:00
Juuz
fab23de471 workflows/test: Update actions/upload-artifact to v3 2023-02-17 21:55:30 +02:00
Juuz
cf4ccf847c RemapJarTask: Fix refmaps on Forge 2023-02-17 21:54:11 +02:00
Juuz
b231a92d3a ModMetadataFiles: Fix crash in fromDirectory 2023-02-17 21:45:39 +02:00
Juuz
dc0d74c8ee Update ModMetadataFilesTest to test directories 2023-02-17 21:45:21 +02:00
Juuz
93843d85f7 Update ArchitecturyCommonJsonTest 2023-02-17 21:41:45 +02:00
Juuz
8100147462 Fix plugin ID in multi-mc-versions 2023-02-17 21:36:19 +02:00
Juuz
ac192623e7 Move dependency provider setup to CompileConfiguration 2023-02-17 00:46:11 +02:00
Juuz
bbb4d8de22 Change field migrated mapping suffix from -updated to -field-migrated 2023-02-17 00:36:17 +02:00
Juuz
c98b255677 Fix outdated merge of MappingConfiguration 2023-02-16 23:56:06 +02:00
Juuz
181b20fbb9 ModMetadataFabricModJson: Use absolute path for describing directories 2023-02-16 23:35:31 +02:00
Juuz
e976b74f97 AbstractMappedMinecraftProvider: Make jar prefix lowercase too 2023-02-16 22:18:22 +02:00
Juuz
b27eeecfdf AccessWidenerUtils: Allow jars with no mod metadata 2023-02-16 22:18:09 +02:00
Juuz
94b77c6d83 Document ModMetadataFile 2023-02-16 22:16:12 +02:00
Juuz
878bc5c1a1 Various fixes 2023-02-16 22:02:06 +02:00
Juuz
af4fab2b02 Rename FieldMigratedMappingsProvider -> FMMappingConfiguration 2023-02-16 21:52:04 +02:00
Juuz
682621ed75 Restore architectury.common.marker support 2023-02-16 21:50:04 +02:00
Juuz
c11c004395 Document MappingsNamespace.SRG 2023-02-16 21:46:51 +02:00
Juuz
a2ef9dbc83 ModMetadataFabricModJson: Determine "mod ID" from source if missing 2023-02-16 21:43:41 +02:00
Juuz
2456edf285 ModMetadataFabricModJson: Add support for custom values in quilt.mod.json 2023-02-16 21:30:41 +02:00
Juuz
08f9ebe32e Add support for multiple access wideners in Quilt mods 2023-02-16 21:16:18 +02:00
Juuz
e2dfa8a410 Mod metadata fixes 2023-02-16 21:10:59 +02:00
Juuz
e4ce4d03c7 1.1 merge: Fix compilation 2023-02-16 21:08:17 +02:00
Juuz
9e041899ae Merge with Fabric 1.1, stage 9 2023-02-16 21:03:55 +02:00