Commit Graph

1437 Commits

Author SHA1 Message Date
shedaniel
fce31a4f1d Delete forge mods' jarjar metadata (#159)
* Delete forge mods' jarjar metadata

* Update ZipUtils.java

* Update src/main/java/net/fabricmc/loom/util/ZipUtils.java

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>

---------

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2023-09-05 03:30:13 +08:00
shedaniel
7a26b375e0 Support Neo (#154) 2023-08-09 04:41:58 +08:00
Juuz
e0efe9ce60 Remove beta warning 2023-06-21 21:30:29 +03:00
Juuz
cce1fa3fff Merge branch 'dev/1.1' into dev/1.2 2023-06-12 20:48:09 +03:00
Juuz
b7f3c674f9 ModMetadataFiles: Prefer quilt.mod.json over architectury.common.json 2023-06-12 20:45:55 +03:00
Juuz
479bb0ba17 Fix architectury.common.json etc being used over fabric.mod.json (#140)
Fixes #136.
2023-06-12 20:45:12 +03:00
Juuz
6d5e57c292 Remove unused forgeNamed configuration
It's been unused for multiple versions, and it's not a
supported public API - it can be removed safely.
2023-06-12 20:08:25 +03:00
Juuz
4390d16183 Fix #132 2023-06-12 20:08:25 +03:00
shedaniel
4ce760a062 Change broken mods.toml warning to info 2023-06-12 17:34:53 +08:00
Juuz
da08cf9330 AtRemapper: Work around Gradle 8.1 bug causing Files.readString(path) to call Path.toFile()
Same issue and fix as in 4ff9f726e1,
just a different class.

Fixes #129.
2023-05-11 23:51:37 +03:00
Juuz
fd46c13778 AtRemapper: Work around Gradle 8.1 bug causing Files.readString(path) to call Path.toFile()
Same issue and fix as in 4ff9f726e1,
just a different class.

Fixes #129.
2023-05-10 18:36:16 +03:00
Juuz
5ddbd495e4 Add beta log notice 2023-05-07 12:52:13 +03:00
Juuz
73fef942ee Merge remote-tracking branch 'upstream/dev/1.2' into dev/1.2
# Conflicts:
#	.github/workflows/publish.yml
#	src/main/java/net/fabricmc/loom/task/DownloadAssetsTask.java
2023-05-07 12:51:03 +03:00
modmuss50
35e827566e Move jar merger to loom. (#882)
* Move jar merger to loom.

* Fix copyright years
2023-05-05 13:26:06 +01:00
modmuss50
92eed264ab Downloader improvements (#880)
* Fixes Integration tests locally often fail with download errors #878
* Hopefully fixes Loom is very slow to download files, often hanging for 10+ minutes #877
* "Forcing downloading" error should show much less often.
* Progress loggers get closed when download fails.
* Download assets uses a maxmium of 10 threads.
* Update tests to run against 8.3 nightlys.
* Fix windows arm tests as Mojang back-ported this change to all 1.19 versions.
2023-05-02 09:21:51 +01:00
Juuz
4337986982 ForgeToolExecutor: Use project Java toolchain if available 2023-04-30 19:22:56 +03:00
Juuz
e35789b392 JarManifestService: Fix "Could not determine fabric loader version" log spam
...by restoring this file to exactly how it is upstream.
2023-04-30 19:22:37 +03:00
Juuz
5fb322a83d GenerateForgePatchedSourcesTask: Apply AT and SAS before decompiling
This makes the patches not get rejected, and the output actually looks like
it should now.
2023-04-30 19:22:33 +03:00
Juuz
2d6218686e InjectLogic: Don't try to create null parent 2023-04-30 19:22:27 +03:00
Juuz
827698d5d1 FunctionLogic: Set output name to output.jar 2023-04-30 19:22:22 +03:00
Juuz
8f33803331 JarManifestService: Fix "Could not determine fabric loader version" log spam
...by restoring this file to exactly how it is upstream.
2023-04-30 13:58:58 +03:00
Juuz
e0f241b91f Restore LayeredMappingsDependency to upstream form 2023-04-30 13:47:49 +03:00
Juuz
c847f05bee Set up dependency providers before mappings, clean up code
This lets us use the same order as in 1.1, so I can also clean up some
changes made for the ordering. Thanks to merging MinecraftProvider's
provideFirst() and provide(), I could safely move the dependency providers
back to where they belong. (Alternatively, I could've moved the libraries
to provideFirst() but it's better to just get rid of it anyway to reduce
isForge() checks.)

Partially reverts commit 3d74e11167.
2023-04-30 13:03:28 +03:00
Juuz
0ae0562f5f SingleJarForgeMinecraftProvider: Remove duplicate patched provider setup 2023-04-30 12:54:00 +03:00
Juuz
f96ef6fb06 MinecraftProvider: Unsplit provide and provideFirst
Not needed anymore since the patched provider is run separately.
2023-04-30 12:53:43 +03:00
Juuz
915521cd23 Fix code style 2023-04-30 02:46:15 +03:00
Juuz
c44640bf6e GenerateForgePatchedSourcesTask: Apply AT and SAS before decompiling
This makes the patches not get rejected, and the output actually looks like
it should now.
2023-04-30 02:44:08 +03:00
Juuz
560d8b94aa InjectLogic: Don't try to create null parent 2023-04-30 01:34:24 +03:00
Juuz
6736f5ce94 FunctionLogic: Set output name to output.jar 2023-04-30 01:34:06 +03:00
Juuz
3d74e11167 Fix Forge setup ordering, centralise Forge cache code
The setup of dependency providers must happen after the custom repositories
added by Loom are finalised, but they're modified by the library processor
system. Therefore, we need to
1. Initialise dependency providers later.
2. Replace usages of specific dependency providers with (potentially slower)
   alternatives that don't resolve any dependencies.
2023-04-30 01:00:58 +03:00
Juuz
9dda8bbfb8 ForgeToolExecutor: Use project Java toolchain if available 2023-04-30 00:23:00 +03:00
Juuz
53d6a8c7d3 MixinExtensionImpl: Remove convention usage 2023-04-29 22:43:06 +03:00
Juuz
4341297dff Merge remote-tracking branch 'upstream/dev/1.2' into dev/1.2
# Conflicts:
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/mapped/IntermediaryMinecraftProvider.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/mapped/NamedMinecraftProvider.java
2023-04-24 11:25:44 +03:00
modmuss50
dcbdbf0e30 Fix @Environment(EnvType.CLIENT) not being added to the named minecraft client only jar. 2023-04-23 14:15:45 +01:00
Juuz
7b5bc30f64 Fix code format 2023-04-23 13:52:51 +03:00
Juuz
9b98c655a1 Merge remote-tracking branch 'upstream/dev/1.2' into dev/1.2
# Conflicts:
#	src/main/java/net/fabricmc/loom/configuration/LoomConfigurations.java
#	src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
2023-04-23 13:39:04 +03:00
Juuz
b527ed9afe Add loom.forge.useForgeLoggerConfig
Closes #126.
2023-04-23 13:35:35 +03:00
Juuz
9784c5491e Add back more missing code 2023-04-23 12:32:09 +03:00
modmuss50
2e6a1a9128 Fix config roles. (#872) 2023-04-23 10:02:56 +01:00
Juuz
162b504d64 RunConfigSettings: Add support for fully custom main class (#871) 2023-04-23 09:22:41 +01:00
Juuz
200b38096a LoomConfigurations: Add forgeRuntimeLibrary to testRuntimeClasspath 2023-04-23 11:13:35 +03:00
Juuz
9031476066 Fix compilation errors and add back missing code 2023-04-23 11:10:49 +03:00
Juuz
89fd6ff6c9 Merge 1.2, part 3 2023-04-23 10:58:33 +03:00
Juuz
e162f9e56d Fix compilation errors 2023-04-23 10:54:18 +03:00
Juuz
27cfb8c033 Merge 1.2, part 2 2023-04-23 10:35:54 +03:00
Juuz
4b2090f6fe Merge 1.2, part 1 2023-04-23 10:30:30 +03:00
modmuss50
743ba4de66 Support 23w16a & Windows ARM64, and fix regression when adding ARM support on older versions. (#870)
* Support 23w16a & Windows ARM64, and fix regression when adding ARM support on older versions.

* Fix build
2023-04-20 22:42:44 +01:00
Juuz
8709c9f0d7 Update forge runtime to 1.1.8 to fix crash 2023-04-21 00:20:50 +03:00
Juuz
5a3864ac8d Update forge runtime to 1.1.6 2023-04-20 22:29:25 +03:00
Juuz
0afa1ee8ba Update forge runtime to 1.1.5 2023-04-20 22:03:30 +03:00