apply plugin: 'announce'

announce {  
  username = 'myId'
  password = 'myPassword'
}


task helloWorld << {  
    ant.echo(message: "hello") 
}  

helloWorld.doLast {  
    announce("Build complete", "notify-send")
    announce("Build complete", "twitter")
}

