Skip to content

Instantly share code, notes, and snippets.

@hyongbai
Last active August 21, 2018 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyongbai/bc4b747a0aaa7c2e365c84d8c9a63329 to your computer and use it in GitHub Desktop.
Save hyongbai/bc4b747a0aaa7c2e365c84d8c9a63329 to your computer and use it in GitHub Desktop.
task hello(){
println("HELLO")
}
task deployReplugin {
println("deployReplugin")
}
deployReplugin.doLast {
println("deployReplugin.doLast")
}
deployReplugin << {
println("deployReplugin <<")
}
deployReplugin.dependsOn hello
//
➜ ~ gradle deployReplugin
HELLO
deployReplugin
> Task :deployReplugin
deployReplugin.doLast
deployReplugin <<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment