For example:
tasks.create('a')
tasks.create('b').dependsOn('a')
tasks.create('c')
tasks.create('d').mustRunAfter('c')
dependsOn– sets task dependencies. Executingbhere would require thatabe executed first.mustRunAfter– sets task ordering. Executingddoes not requirec. But, when bothcanddare included,cwill execute befored.