Skip to content

Commit 5e2e1fe

Browse files
fixing the dependsOn
Signed-off-by: Thomas Nellemann Kramer <[email protected]>
1 parent 5631b18 commit 5e2e1fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ task copyRunScripts(type: Copy) {
171171
into "${projectDir}/approvalTest"
172172
filter { line -> line.replaceAll('@VERSION@', productVersion) }
173173

174+
println("Copied with jar version ${productVersion} to approvalTest directory")
175+
174176
}
175177

176178
task prepareDistribution(type: Zip) {
@@ -198,7 +200,7 @@ task prepareDistribution(type: Zip) {
198200
def approvalTest
199201
approvalTest = tasks.register("approvalTest", Test) {
200202
description 'Run approval test only'
201-
dependsOn copyRunScripts, prepareDistribution
203+
dependsOn copyJarToBin, copyRunScripts
202204

203205
def output = -1
204206
def runningOs = OS_NAME.toLowerCase()

0 commit comments

Comments
 (0)