OtherActive

Gradle

Gradle is a build automation tool for multi-language software development. This page is part of the official user manual, covering project initialization.

Open source page

Product features

Product features

Build Cache

Reuses task outputs across builds.

Build Init

Generates new Gradle projects with predefined structures.

Build Scan

Provides detailed insights into build performance and dependencies.

Composite Builds

Combine multiple builds into one.

Configuration Cache

Caches the build configuration to improve performance.

Continuous Build

Automatically rebuilds when inputs change.

Continuous Builds

Automatically re-runs builds when files change.

Domain-Specific Language

Provides a build language reference for scripting builds.

File System Watching

Monitors file system changes for faster incremental builds.

Gradle Daemon

A long-lived process to speed up builds.

Gradle Wrapper

Allows projects to specify a Gradle version and download it automatically.

Groovy DSL

A DSL for writing build scripts in Groovy.

Incremental Builds

Avoids re-executing tasks whose inputs have not changed, speeding up builds.

Kotlin DSL

A type-safe DSL for writing build scripts in Kotlin.

List Tasks

Display available tasks with 'gradle tasks'.

Multi-language support

Supports JVM and native languages.

Run Builds

Execute Gradle builds using commands like 'gradle build'.

Task Options

Pass options to tasks via the command line.

TestKit

Aids in testing Gradle plugins and build logic.

Toolchains

Manages different JDKs and compilers for building JVM and native projects.

Version Catalogs

Centralized dependency version management.

Gradle Wrapper

A script that allows you to run Gradle builds with a specified version.