Skip to content

Instantly share code, notes, and snippets.

View andrii-ivantsiv's full-sized avatar

Andrii Ivantsiv andrii-ivantsiv

View GitHub Profile
@andrii-ivantsiv
andrii-ivantsiv / speak.gradle
Created March 30, 2023 11:53 — forked from etiennestuder/speak.gradle
Voice notification when when Gradle build finishes (for Mac OS X)
// 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) {