Imagine, that you have to work one of your less talented colleague's code who just left after lunch ( because work for losers ). You are working so hard you can't even blink. After several hours of agony, finally you could extend the whole shitstorm what they call codebase one goddamn line ( and at least 10 lines of comment why you should never do it ). You just open a terminal hit gradle build
and Boom, BUILD FAILED. Your face became red, even the guy next to you start to call 911 with eyes large and dark with fear, but you'd only yell Fuuuuuuuu...
But finally! Thanks for the 21st century technology, it can be automated!
Install this amazing game changer plugin into your precious local repository
./gradlew clean build publishToMavenLocal
Remove every comments except the soundFiles
part from swear-example/build.gradle
Do something silly in Application.kt
and run
./gradlew clean build
And voilà.
Alternatively you can put your custom .wav
file under your project's root directory and list it in the build.gradle
with the help of swear.soundFiles
(see the swear-example/build.gradle
)
Inspired by Michael Reeves' pimped Roomba.
The default sound files are from this mighty video.
I'm a butterfly