1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-25 22:53:22 +00:00

Also propogate the Java launcher when copying tasks

We removed the config which ran all JavaExec tasks with the given
launcher, so need to override this again.

A little abusrd that this isn't done by Gradle, but there we go.
This commit is contained in:
Jonathan Coates 2022-06-23 22:24:53 +01:00
parent d1e952770d
commit 718111787c
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -417,6 +417,7 @@ commandLine mkCommand('"node_modules/.bin/ts-node" --esm src/web/transform.tsx')
exec.copyTo(it)
setClasspath(exec.getClasspath())
mainClass = exec.mainClass
javaLauncher = exec.javaLauncher
setArgs(exec.getArgs())
// Jacoco and modlauncher don't play well together as the classes loaded in-game don't