Skip to main content

Gradle

finalizedBy

Add 1 or multi tasks to the end of task. Addition tasks will not be executed in order.

Example:

task A {
finalizedBy "B"
finalizedBy "C"
doLast {
println "A"
}
}

gradle A

Task :A
A
Task :C
C
Task :B
B

Eclipse

executable not support bat.

// Not work with eclipse but work in console
exec {
executable 'ganache-test.bat'
}

// Correct
exec {
commandLine 'cmd', '/c', 'ganache-test.bat'
}

Eclipe Debug - JUnit will not run gradle.

Gradle Test are not the same.