Commit Graph

1571 Commits

Author SHA1 Message Date
Juuz
5054cc6c60 Publish 1.0 1.0 2022-10-30 16:46:15 +02:00
Juuz
ec360e418e Delete RunDataTask
It's been deprecated since for over a year (since 0.6/January 2021).
2022-10-30 14:20:44 +02:00
Juuz
2dcb964db8 Resolve Forge run args and vm args as config values 2022-10-30 13:06:15 +02:00
Juuz
7af0d425f8 Fix variable resolving in Forge run configs 2022-10-30 12:48:52 +02:00
Juuz
d4cc730f5d Fix common mods not being remapped 2022-10-30 12:01:22 +02:00
Juuz
1dc04a7b3a Remove unused buildNum property from build.gradle 2022-10-30 11:23:42 +02:00
Juuz
65cca62114 Update base version to 1.0 2022-10-30 11:22:46 +02:00
Juuz
992e8d2a8e build.gradle: Replace System.getenv with ENV map for cleaner merges 2022-10-29 14:24:59 +03:00
Juuz
8d54df26ca Remove LaunchProviderSettings (#103)
* Remove LaunchProviderSettings

Closes #99.

- Added new RunConfigSettings.forgeTemplate API
- Removed LaunchProviderSettings and loom.launches
- Removed most evaluateLater usages, only used for configuring the
  RunConfigSettings since Forge runs aren't resolved yet when they're
  created
- Didn't migrate Forge userdev stuff to runs, most of it still injects
  directly into DLI

* Fix Fabric

* Fix 1.14 - 1.16.5 Forge, add test for ForgeRunTemplate for those versions

* Move ConfigValue out of mcpconfig, clean up

* Add test for config values

* Stop replacing user config values with ours
2022-10-29 14:21:50 +03:00
Juuz
515e1113c2 Merge remote-tracking branch 'upstream/dev/1.0' into dev/1.0
# Conflicts:
#	.github/workflows/test.yml
#	build.gradle
2022-10-29 13:54:39 +03:00
modmuss50
57b5f05c57 Fix support for latest Gradle 8.0 nightly. (#732)
* Fix support for Gradle 8.0.

* Cleanup

* Fix another gradle 8 issue?
2022-10-02 16:28:55 +01:00
modmuss50
f221101477 Inherit environment variables. Fixes #730 (#733) 2022-10-01 16:20:08 +01:00
modmuss50
559ead49e1 Search for injected interfaces in the client sourceset by default. (#731) 2022-10-01 09:55:03 +01:00
modmuss50
5ae24af98b Fix incorrect Mixin message argument key. 2022-09-24 21:02:49 +01:00
Juuz
ffe5e955c5 Fix test artifact names (#716)
* Fix test artifact names

- Fixes empty parens in Linux artifacts
- Fixes invalid artifact names containing *
- Fixes Windows artifacts not being different from Linux ones

* Fix Windows tests
2022-09-11 20:26:00 +01:00
modmuss50
35e32e89f3 Retry failed tests. (#721)
* Retry failed tests.

* Minor updates.
2022-09-11 20:25:49 +01:00
Juuz
cd8822457e Fix v1 mappings (#104)
Fixes #100. A minor setback is that they can't now be used on Forge.
2022-09-11 21:55:17 +03:00
Juuz
f905a2a17c Disable test parallelisation to fix DownloadTests 2022-09-11 21:09:40 +03:00
Juuz
53a698d357 Only run tests on dev branches and pull requests 2022-09-11 20:40:31 +03:00
Juuz
c0677c5770 Merge remote-tracking branch 'upstream/dev/1.0' into dev/1.0 2022-09-11 19:39:46 +03:00
modmuss50
1b4226aca9 Fix mods being always being applied to the main sourceset and not the target. (#719) 2022-09-11 15:58:28 +01:00
Juuz
b8d04d9b1f Add checkstyle report action 2022-09-08 04:03:01 +03:00
Juuz
c549c5fd7a Create test report (#102) 2022-09-08 03:59:29 +03:00
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