Working with Gradle
Understand how IntelliJ IDEA integrates with Gradle.
See Also - Marco Codes
In addition to this tutorial, we recommend you check out Marco Codes - Gradle Tutorial - Crash Course - to learn how to use Gradle like a professional including
- Using the Gradle wrapper
- Using Gradle together with IDEs
- Gradle basics like build.gradle and settings.gradle
- Running commands (clean build) as well as understanding multi-project Gradle builds
![Introduction](/guide/assets/thumbnail-ca26ba05.png)
Introduction
Introduction to working with Gradle and Gradle projects in IntelliJ IDEA
![Creating a Gradle project](/guide/assets/thumbnail-9a99efd4.png)
Creating a Gradle project
Start by creating a brand-new project that uses Gradle as the build tool.
![Tour of a Gradle project](/guide/assets/thumbnail-7a8ae194.png)
Tour of a Gradle project
Take a look around a standard Gradle project to understand it better.
![The build.gradle file](/guide/assets/thumbnail-fdb83684.png)
The build.gradle file
See how IntelliJ IDEA makes it easier to work with Gradle's configuration file.
![Gradle dependencies](/guide/assets/thumbnail-c677eab9.png)
Gradle dependencies
Add or update dependencies in your build.gradle file.
![Source set directories](/guide/assets/thumbnail-3e48cd50.png)
Source set directories
Understand how IntelliJ IDEA deals with Gradle's source set directories
![Group ID and version number](/guide/assets/thumbnail-ee71f22d.png)
Group ID and version number
How to set up or change a project's group ID and version number.
![Opening a Gradle project](/guide/assets/thumbnail-74374605.png)
Opening a Gradle project
What you need to know to get started with an existing Gradle project
![The Gradle Tool Window](/guide/assets/thumbnail-6e1fd3fa.png)
The Gradle Tool Window
How to find the Gradle tool window.
![Setting an abbreviation](/guide/assets/thumbnail-21abc445.png)
Setting an abbreviation
Use a unique abbreviation to quickly navigate to the Gradle tool window
![Running Gradle tasks](/guide/assets/thumbnail-42c58f57.png)
Running Gradle tasks
There are several convenient ways to run Gradle tasks from IntelliJ IDEA.
![Syncing and reloading](/guide/assets/thumbnail-98872a35.png)
Syncing and reloading
Sometimes you may need to encourage IntelliJ IDEA to reload any changes from the Gradle configuration.
![Gradle Settings](/guide/assets/thumbnail-671389ca.png)
Gradle Settings
Where to change IntelliJ IDEA's settings fo Gradle.
![Gradle Wrapper](/guide/assets/thumbnail-2615c01f.png)
Gradle Wrapper
Useful information for working with projects that use the Gradle Wrapper.
![Shortcuts](/guide/assets/thumbnail-8dddf08a.png)
Shortcuts
Shortcuts used in the tutorial