Juuxel
ea9dc0baa5
Add genForgePatchedSources task ( #98 )
...
* Add genForgePatchedSources task
Closes #32 . Also reworks the MCP executor system quite heavily:
- Instead of executing all steps up to `x`, it now resolves dependencies based on step inputs
- No-op steps are skipped
- Steps can be overridden with custom logic by callers
- You can add multiple desired steps to one round of execution
- All step types in MCPConfig 1.14-1.19 are supported now
- Variables that reference MCPConfig zip contents now work
- Removed special case for `{mappings}` variable
Other:
- the MCPConfig zip is now completely extracted into the cache dir instead of just the config file
2022-09-07 15:36:05 +03:00
Juuz
f8603e11ef
Checkstyle
2022-09-07 03:58:46 +03:00
Juuz
7690e46e29
Don't linemap Forge's own classes in GenerateSourcesTask
2022-09-07 03:54:26 +03:00
Juuz
8076b417b2
McpExecutor: Extract step logic implementations to their own classes
2022-09-07 01:14:09 +03:00
Juuz
364b67ea6a
Fix #97 , use userdev source jar coordinates in ForgeSourcesRemapper
2022-09-06 22:59:34 +03:00
Juuz
0477a37e6a
Merge remote-tracking branch 'upstream/dev/1.0' into dev/1.0
...
# Conflicts:
# build.gradle
2022-09-06 22:49:57 +03:00
Juuz
1f0a71d895
Replace usages of FileSystems.newFileSystem with ZipUtils and FSUtil
2022-09-06 21:16:48 +03:00
Juuz
1f859baf93
Fix crash when a mod dep doesn't have an AW
2022-09-06 20:57:27 +03:00
Juuz
589ff323e8
SrgMerger: Add support for comments and parameters
2022-09-06 20:39:30 +03:00
Juuz
68bf76f328
Support "log" property in MCP executor
2022-09-06 15:56:41 +03:00
modmuss50
d2ece2e409
Retry reading the string from disk in downloadString.
...
Will hopefully make it a bit more reliable.
2022-09-05 19:28:49 +01:00
modmuss50
c5def7a594
Replace library used for download progess tracking.
...
This fixes the outdated java warning pre Java 11.
2022-08-31 19:45:33 +01:00
modmuss50
da423cbc07
Quote arg file contents. Fixes issues with runClient in directories containing special names.
...
Based on 295dd68385/platform/util/src/com/intellij/execution/CommandLineWrapperUtil.java (L87)
2022-08-28 18:03:35 +01:00
Juuz
5d642fce83
Merge remote-tracking branch 'upstream/dev/1.0' into dev/0.13.0
...
# Conflicts:
# build.gradle
2022-08-28 14:21:09 +03:00
modmuss50
59d0b8af80
1.0
2022-08-28 11:24:17 +01:00
modmuss50
a8c2bb1c64
Fix crash with Gradle 7.7 nightly's in SourceSetHelper
2022-08-28 00:09:22 +01:00
modmuss50
8eb16963f3
Fix and test download issues on windows. Set default retries. ( #707 )
2022-08-27 21:01:20 +01:00
modmuss50
8b7e8d4c37
Cleanup some log output.
2022-08-25 21:03:48 +01:00
modmuss50
e0476d4bdb
Fix FabricAPITest
2022-08-24 20:21:31 +01:00
modmuss50
e16811eb74
Fix build :)
2022-08-22 23:36:17 +01:00
modmuss50
24150283e6
Move configuration lock file out of the project dir. Hopefully fixes #703
2022-08-22 20:43:21 +01:00
modmuss50
5e4ea68b5f
Try and fix crash when releasing project configuration lock. #703
2022-08-15 12:54:38 +01:00
shedaniel
7c819e748c
Merge remote-tracking branch 'FabricMC/dev/0.13' into dev/0.13.0
2022-08-11 02:26:29 +08:00
shedaniel
7052f0f95f
Add back support for architectury.common.json and quilt in AW remapping
...
Signed-off-by: shedaniel <daniel@shedaniel.me >
2022-08-11 02:26:20 +08:00
shedaniel
8457a11f8b
Fix DownloadAssetsTask merge conflict mess-up
...
Signed-off-by: shedaniel <daniel@shedaniel.me >
2022-08-11 02:03:02 +08:00
Juuxel
fdba3b476d
Mark all Minecraft libraries as non-transitive ( #702 )
...
* Fix #700
* Make all MC libraries non-transitive
2022-08-10 18:45:39 +01:00
shedaniel
216b4ce785
Merge remote-tracking branch 'FabricMC/dev/0.13' into dev/0.13.0
...
Signed-off-by: shedaniel <daniel@shedaniel.me >
# Conflicts:
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/MappingsProviderImpl.java
# src/main/java/net/fabricmc/loom/extension/LoomGradleExtensionApiImpl.java
2022-08-11 00:59:05 +08:00
shedaniel
726569229a
Handle more conflicts
...
Signed-off-by: shedaniel <daniel@shedaniel.me >
2022-08-11 00:56:01 +08:00
Juuxel
86f07dad08
Fix #699 ( #701 )
2022-08-10 17:45:51 +01:00
modmuss50
e6b5356bbd
Fix failing unit test.
2022-08-10 17:41:07 +01:00
shedaniel
566158cbdf
Fix merge conflicts with refreshDeps
...
Signed-off-by: shedaniel <daniel@shedaniel.me >
2022-08-10 15:47:11 +08:00
shedaniel
5526ee050c
Update Architectury TinyRemapper
...
Signed-off-by: shedaniel <daniel@shedaniel.me >
2022-08-10 15:42:02 +08:00
shedaniel
66d13ebf6e
Merge with Fabric 0.13, VSCodeProjectTask
...
Signed-off-by: shedaniel <daniel@shedaniel.me >
2022-08-10 15:30:17 +08:00
Juuz
cf28130f2e
Merge with Fabric 0.13, stage 6
2022-08-09 17:41:57 +03:00
Juuz
c5386d8795
Merge with Fabric 0.13, stage 5
2022-08-09 17:37:04 +03:00
Juuz
42bf456302
Merge with Fabric 0.13, stage 4
2022-08-09 17:30:54 +03:00
Juuz
58f2f9445e
Merge with Fabric 0.13, stage 3
2022-08-09 17:26:18 +03:00
Juuz
56995fd210
Merge with Fabric 0.13, stage 2
2022-08-09 17:25:34 +03:00
Juuz
48126bd5d6
Merge with Fabric 0.13, stage 1
2022-08-09 17:18:43 +03:00
Juuz
ba25ab241c
Remove ForgeLocalMod
...
Closes #89 .
2022-08-09 17:03:24 +03:00
Juuz
79a28accf7
Deprecate ForgeLocalMod API for removal
2022-08-09 16:54:21 +03:00
Juuz
0677b5d2a7
Remove incorrect non-mod check for Forge JIJ
...
Fixes #96 .
2022-08-09 16:37:06 +03:00
modmuss50
813c5ead14
Don't validate mixin names with more than one target.
...
Add tests.
2022-08-08 18:53:12 +01:00
modmuss50
7d92647203
Fix incorrect remap configuration names for none main source sets.
2022-08-08 18:27:49 +01:00
modmuss50
727c396cd9
Add getMappingsFile and getDecompileTask APIs for use by the MC Dev plugin. ( #697 )
2022-08-07 09:50:22 +01:00
modmuss50
8b37b9a3c6
Add env manifest entry to split jars.
2022-08-06 15:33:59 +01:00
shedaniel
b74d310311
Merge remote-tracking branch 'FabricMC/dev/0.12' into dev/0.12.0
2022-08-06 10:41:42 +08:00
modmuss50
48ef3550aa
Fallback to a separate file when using a file system that does not attributes. Fixes #696
2022-08-05 23:06:53 +01:00
modmuss50
0853995c5b
Fix genSourcesWithDecompiler always depending on the default decompiler.
2022-08-05 22:39:48 +01:00
modmuss50
80a65210f3
Fix V1 mappings with client or server only minecraft configurations.
2022-08-05 22:30:35 +01:00