-
-
Notifications
You must be signed in to change notification settings - Fork 443
Closed
Description
Attempting to run with a clean MC dependency such as minecraft.dependency('net.minecraft:client:1.21.11') or implementation minecraft.dependency('net.minecraft:joined:1.21.11') triggers an exception stating that the runs.json does not exist:
A problem was found with the configuration of task ':runClient' (type 'SlimeLauncherExec').
- Type 'net.minecraftforge.gradle.internal.SlimeLauncherExec' property 'runsJson' specifies file 'C:\Users\oscar\Downloads\forge-1.21.11-61.1.1-mdk\build\minecraftforge\forgegradle\slimeLauncherMetadata\runs.json' which doesn't exist.
Reason: An input file was expected to be present but it doesn't exist.
Possible solutions:
1. Make sure the file exists before the task is called.
2. Make sure that the task which produces the file is declared as an input.
To reproduce:
- Grab a minimal FG7 MDK
- Delete the example Config.java and turn ExampleMod.java into an empty class so that no Forge code is referenced
- Change the Minecraft dependency to one of the two mentioned near the top of this issue report.
- Attempt to run the
runClientorrunServertasks
Last known working version: 7.0.0-beta.19
Build scan: https://scans.gradle.com/s/3p64muvlft6tg
Reactions are currently unavailable