Lifesaver Protip: The Fuck Gradle Rule

Tahsin Dane
Jan 12, 2016 · 1 min read

I’ve been thinking about this for a long time. When you type a wrong task name in gradle, the stderr output tells you about it and gives an alternative candidate.

When this happens, I always type fuck and all I see is:

Image for post
Image for post

Well, no more. Finally I decided to write a custom rule for it.

Here you go:

Once you install the rule, it saves your life over and over.

Image for post
Image for post

To see how to install it, please read the README file.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store