File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
main/groovy/org/beryx/runtime
test/groovy/org/beryx/runtime Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import groovy.transform.CompileStatic
1919import org.beryx.runtime.data.JreTaskData
2020import org.beryx.runtime.data.TargetPlatform
2121import org.beryx.runtime.impl.JreTaskImpl
22+ import org.gradle.api.GradleException
2223import org.gradle.api.file.Directory
2324import org.gradle.api.tasks.Input
2425import org.gradle.api.tasks.OutputDirectory
@@ -63,8 +64,8 @@ class JreTask extends BaseTask {
6364
6465 JreTask () {
6566 dependsOn(' jar' )
66- dependsOn(project. configurations. runtimeClasspath. allDependencies)
6767 description = ' Creates a custom java runtime image with jlink'
68+ dependsOn(project. configurations[' runtimeClasspath' ]. allDependencies)
6869 }
6970
7071 @TaskAction
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ class RuntimePluginSpec extends Specification {
8989 imageLauncher. setExecutable(true )
9090 def process = imageLauncher. absolutePath. execute([], imageBinDir)
9191 def out = new ByteArrayOutputStream (2048 )
92- process. waitForProcessOutput(out, out)
92+ def err = new ByteArrayOutputStream (2048 )
93+ process. waitForProcessOutput(out, err)
9394 def outputText = out. toString()
9495
9596 then :
You can’t perform that action at this time.
0 commit comments