Execute a Gradle task shortcut with IntelliJ IDEA

Most of my projects are Gradle Builds. For such projects, I use in IntelliJ IDEA. However, I delegate Build and Run and tests to Gradle. You can do that at Settings/Preferences | Build, Execution, Deployment |Build Tools | Gradle.

Thus, running tasks such as test, run, clean or build means executing a Gradle task. Because of that I have a shortcut to execute a Gradle task within IntelliJ IDEA:

Custom shortcut to execute a Gradle task in IntelliJ IDEA

Now when I type CONTROL + OPTION + COMMAND + G, I can run the any Gradle task:

Execute a Gradle task in IntelliJ IDEA

Tags: #gradle #intellijidea #automation
Nov 2020, 30.

 

My next events:
🗓 Apr 04 16:30 JDevSummitIL Getting Started with the Micronaut Framework