Can I alter the tasks executed by 'gradle build'

I have a Java/War project which has 2 custom tasks defined, I want these tasks to run when I execute ‘gradle build’. Is there anyway I can tell Gradle to do this?



hey edd, you can manually configure the build task to depend on those two tasks:

build.dependsOn custom1, custom2

cheers, René