Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.98 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.98 KB

Saydle 🔊 - "Say Gradle"

Saydle is a Wrapper for the Gradle Wrapper that notifies you via the OSX say command whether a task failed or succeeded.

Why?

Knowing when a Gradle build is done is super helpful when there are long running tasks. This allows you to be notified instead of checking the terminal.

Tweet about Using the Say Command with Gradle

System Requirements

  • You must be Running Mac OSX

Installation Instructions

Run the following command from the terminal in the root of your Android Project (where the gradlew file is)

curl -O "https://raw.githubusercontent.com/handstandsam/saydle/main/saydlew" && chmod +x saydlew

This will download the saydlew file and put it next to your gradlew file in the root of your Gradle project. It then ensures there is permission to execute the file.

Usage

  • Instead of using ./gradlew, use ./saydlew instead. That's it!
  • Example: ./saydlew app:assembleDebug

Advanced Configuration Options

You can edit these options in the saydlew file itself.

  • success_phrase="Success"
  • failed_phrase="Failed"
  • voice="Alex"

Alternate Voices for the "say" Command

OSX Say Command Documentation

Available English Speaking Voices

Alex                en_US    # Most people recognize me by my voice.
Fred                en_US    # I sure like being inside this fancy computer
Samantha            en_US    # Hello, my name is Samantha. I am an American-English voice.
Victoria            en_US    # Isn't it nice to have a computer that will talk to you?

Other Languages Find other voices by running: say -v '?'

How Does Saydle 🔊 Work?

Saydle 🔊 forwards your command to Gradle, and then looks at the execution result to say either "Success" or "Failed".

Process Diagram