This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// When runnning a Gradle build in the background, it is convenient to be notified immediately | |
// via voice once the build has finished - without having to actively switch windows to find out - | |
// and being told the actual exception in case of a build failure. | |
// Put this file into the folder ~/.gradle/init.d to enable the acoustic notifications for all builds | |
gradle.addBuildListener(new BuildAdapter() { | |
@Override | |
void buildFinished(BuildResult result) { |