Gradle

Gradle

Gradle is an open-source build automation tool focused on flexibility and performance.

IntelliJ IDEA integrates seamlessly with Gradle, applying project settings from the build file and delegating build and test tasks to Gradle where appropriate.

Gradle build scripts are written using a Groovy or Kotlin DSL, and IntelliJ IDEA provides code completion and generation within the build file.

Working with Gradle

Tutorial

Working with Gradle
Understand how IntelliJ IDEA integrates with Gradle.
Creating a Gradle project

Part of tutorial

Creating a Gradle project
Start by creating a brand-new project that uses Gradle as the build tool.
Gradle Settings

Part of tutorial

Gradle Settings
Where to change IntelliJ IDEA's settings fo Gradle.
Gradle Wrapper

Part of tutorial

Gradle Wrapper
Useful information for working with projects that use the Gradle Wrapper.
The Gradle Tool Window

Part of tutorial

The Gradle Tool Window
How to find the Gradle tool window.
Gradle dependencies

Part of tutorial

Gradle dependencies
Add or update dependencies in your build.gradle file.
Group ID and version number

Part of tutorial

Group ID and version number
How to set up or change a project's group ID and version number.
Opening a Gradle project

Part of tutorial

Opening a Gradle project
What you need to know to get started with an existing Gradle project.
The build.gradle file

Part of tutorial

The build.gradle file
See how IntelliJ IDEA makes it easier to work with Gradle's configuration file.
Source set directories

Part of tutorial

Source set directories
Understand how IntelliJ IDEA deals with Gradle's source set directories.
Running Gradle tasks

Part of tutorial

Running Gradle tasks
There are several convenient ways to run Gradle tasks from IntelliJ IDEA.
Syncing and reloading

Part of tutorial

Syncing and reloading
Sometimes you may need to encourage IntelliJ IDEA to reload any changes from the Gradle configuration.
Tour of a Gradle project

Part of tutorial

Tour of a Gradle project
Take a look around a standard Gradle project to understand it better.
Import Multiple Repositories

Tip

Import Multiple Repositories
Import multiple related repositories into one IntelliJ IDEA project.
Manage Dependencies

Tip

Manage Dependencies
Manage all your dependencies in the Dependencies tool window.
Open multiple projects

Part of tutorial

Open multiple projects
Opening multiple repositories into one project in IntelliJ IDEA.
Project from existing model

Part of tutorial

Project from existing model
Importing a project from existing model.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Importing projects into IntelliJ IDEA Summary.
Analyzing dependencies

Tutorial

Analyzing dependencies
Analyzing dependencies in IntelliJ IDEA.
Dependency Analyzer

Part of tutorial

Dependency Analyzer
Using the Dependency Analyzer in IntelliJ IDEA.
Introduction

Part of tutorial

Introduction
How to analyze dependencies in IntelliJ IDEA.
Dependency Diagram

Part of tutorial

Dependency Diagram
Using the Dependency Diagram in IntelliJ IDEA Ultimate.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
A summary of how to analyze dependencies in IntelliJ IDEA.
Package Checker

Tutorial

Package Checker
Find and fix vulnerabilities inside IntelliJ IDEA Ultimate.
Gradle projects

Part of tutorial

Gradle projects
View vulnerable dependencies in Gradle projects.
Introduction

Part of tutorial

Introduction
Package Checker plugin in IntelliJ IDEA Ultimate.
Remediate dependencies

Part of tutorial

Remediate dependencies
Remediate dependencies using IntelliJ IDEA Ultimate.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Find and fix vulnerabilities inside IntelliJ IDEA Ultimate Summary.
Vulnerable Dependencies tool window

Part of tutorial

Vulnerable Dependencies tool window
View vulnerable dependencies in the Vulnerable Dependencies tool window.
Managing dependencies

Tutorial

Managing dependencies
Managing dependencies in IntelliJ IDEA.
Add dependencies

Part of tutorial

Add dependencies
Different ways to add dependencies in IntelliJ IDEA.
Introduction

Part of tutorial

Introduction
Managing dependencies in IntelliJ IDEA.
Remove dependencies

Part of tutorial

Remove dependencies
Remove dependencies using Package Search.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Managing dependencies in IntelliJ IDEA Summary.
Upgrade dependencies

Part of tutorial

Upgrade dependencies
Upgrade dependencies using Package Search.
Viewing dependencies

Tutorial

Viewing dependencies
Different ways to view dependencies in IntelliJ IDEA.
Build tool window

Part of tutorial

Build tool window
View dependencies in the build tool window.
Dependency management config file

Part of tutorial

Dependency management config file
View dependencies in the dependency management config file.
Dependency tool window

Part of tutorial

Dependency tool window
View dependencies in the dependency tool window.
Project tool window

Part of tutorial

Project tool window
View dependencies in the Project tool window.
Introduction

Part of tutorial

Introduction
Different ways to view dependencies in IntelliJ IDEA.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
View dependencies in IntelliJ IDEA Summary.
Marco Codes - Gradle

Tutorial

Marco Codes - Gradle
Working with Maven in your projects.
Quick-Fix to Add Missing Dependencies in the Editor

Tip

Quick-Fix to Add Missing Dependencies in the Editor
Save time when adding missing dependencies by using a quick fix.
Code Completion with Package Search

Tip

Code Completion with Package Search
Helps you to reduce the chances of a typing mistake when you're searching for packages.
Filter Stable Versions in the Dependencies Tool Window

Tip

Filter Stable Versions in the Dependencies Tool Window
Allows you to filter out unstable versions of dependencies easily.
Search Packages in Dependencies Tool Window

Tip

Search Packages in Dependencies Tool Window
Use the Dependencies tool window to manage your dependencies in one place.
Update Version and Scope in Dependencies Tool Window

Tip

Update Version and Scope in Dependencies Tool Window
Upgrade, downgrade, and change scope easily inside your IDE.
Setting up the Dependencies

Part of tutorial

Setting up the Dependencies
Add Spock framework dependencies to the project.
Setting up Gradle for JUnit 5

Part of tutorial

Setting up Gradle for JUnit 5
Laying the foundations for Writing JUnit 5 Tests.