fix modifying the runtime classpath of the run task
All checks were successful
Publish to snapshot maven / build (push) Successful in 18s
All checks were successful
Publish to snapshot maven / build (push) Successful in 18s
This commit is contained in:
parent
daee0d93b7
commit
41505068a2
|
@ -111,7 +111,7 @@ abstract class RunGameTask @Inject constructor(env: Env) : JavaExec() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun exec() {
|
override fun exec() {
|
||||||
super.setClasspath(project.files())
|
super.setClasspath(classpath)
|
||||||
workingDir = project.projectDir.resolve("run")
|
workingDir = project.projectDir.resolve("run")
|
||||||
super.exec()
|
super.exec()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue