mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-15 12:40:30 +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:
parent
d1e952770d
commit
718111787c
@ -417,6 +417,7 @@ def testServer = tasks.register("testServer", JavaExec.class) {
|
|||||||
exec.copyTo(it)
|
exec.copyTo(it)
|
||||||
setClasspath(exec.getClasspath())
|
setClasspath(exec.getClasspath())
|
||||||
mainClass = exec.mainClass
|
mainClass = exec.mainClass
|
||||||
|
javaLauncher = exec.javaLauncher
|
||||||
setArgs(exec.getArgs())
|
setArgs(exec.getArgs())
|
||||||
|
|
||||||
// Jacoco and modlauncher don't play well together as the classes loaded in-game don't
|
// Jacoco and modlauncher don't play well together as the classes loaded in-game don't
|
||||||
|
Loading…
Reference in New Issue
Block a user