サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
新内閣発足
docs.gradle.org
The sections below describe Gradle’s compatibility with several integrations. Versions not listed here may or may not work. Gradle runs on the Java Virtual Machine (JVM), which is often provided by either a JDK or JRE. A JVM version between 17 and 24 is required to execute Gradle. JVM 25 and later versions are not yet supported.
To prepare your software project for growth, you can organize a Gradle project into multiple subprojects to modularize the software you are building. In this guide, you’ll learn how to structure such a project on the example of a Java application. However, the general concepts apply for any software you are building with Gradle. You can follow the guide step-by-step to create a new project from sc
Gradle User Manual Releases All Releases Release Notes Installing Gradle Upgrading Gradle Within versions 9.x.y To version 9.0.0 Within versions 8.x From version 7.x to 8.0 From version 6.x to 7.0 From version 5.x to 6.0 From version 4.x to 5.0 Migrating to Gradle from Maven from Ant Compatibility Notes Gradle's Feature Lifecycle Gradle Tutorials Getting Started Running Gradle Builds 1. Core Conce
Much of Gradle’s functionality is delivered via plugins, including core plugins distributed with Gradle, third-party plugins, and script plugins defined within builds. Plugins introduce new tasks (e.g., JavaCompile), domain objects (e.g., SourceSet), conventions (e.g., locating Java source at src/main/java), and extend core or other plugin objects. Plugins in Gradle are essential for automating co
The Maven Publish Plugin provides the ability to publish build artifacts to an Apache Maven repository. A module published to a Maven repository can be consumed by Maven, Gradle (see Declaring Dependencies) and other tools that understand the Maven repository format. You can learn about the fundamentals of publishing in Publishing Overview.
This sample shows how to create a multi-project containing Java Modules. Java Modules are a feature of Java itself, available since Java 9, that allows for better encapsulation. In Gradle, each source set containing Java sources can be turned into a module by adding a module-info.java file. Typically, in a project with Java Modules like this one, the main source set of a subproject represents a mo
Gradle Release Notes Version 4.0 The Gradle team is pleased to announce Gradle 4.0. We are excited to share some great new features and improvements with you in this release: First and foremost, Gradle's Build Cache is now production-ready for Java and Groovy compilation and Java test tasks! This provides remarkable performance, making Gradle builds up to 100x faster than Maven in common scenarios
The Java Library plugin expands the capabilities of the Java Plugin (java) by providing specific knowledge about Java libraries. In particular, a Java library exposes an API to consumers (i.e., other projects using the Java or the Java Library plugin). All the source sets, tasks and configurations exposed by the Java plugin are implicitly available when using this plugin.
Gradle Release Notes Gradle 8.12.1 is the first patch release for Gradle 8.12. It fixes the following issues: #31245 FileLockCommunicator is not compatible with macOS 15.1 firewall and Crowdstrike/SentinelOne #31942 Default working directory for ExecSpec changed between 8.11 and 8.12 #31946 Build failed on Linux after upgrading 8.11.1 -> 8.12 #32016 Incorrect output format for Java compiler proble
Overview What is Gradle? Quick Start Releases All Releases Release Notes Installing Gradle Upgrading Gradle version 8.X to latest version 7.X to 8.0 version 6.X to 7.0 version 5.X to 6.0 version 4.X to 5.0 Migrating to Gradle from Maven from Ant Troubleshooting Compatibility Notes Gradle's Feature Lifecycle Running Gradle Builds Getting Started Learning the Basics 1. Gradle Basics 2. Gradle Wrappe
Gradle Release Notes Version 3.3 The Gradle team is pleased to announce Gradle 3.3. This release of Gradle makes the gradle tasks report much faster for medium-to-large projects. By default, gradle tasks will now only display tasks which have been assigned a task group. For example, execution time was reduced from 554 seconds to 3 seconds on our perf-enterprise-large benchmark project — over 100x
Configuring the build environment is a powerful way to customize the build process. There are many mechanisms available. By leveraging these mechanisms, you can make your Gradle builds more flexible and adaptable to different environments and requirements.
Gradle Release Notes Version 2.12 The Gradle team is pleased to bring you Gradle 2.12. This release brings support for compile only dependencies, improved build script compilation speed and even better IDE support. Gradle 2.12 now finally includes support for modeling compile only dependencies when using the Java plugin. This capability establishes a much clearer migration path for those coming fr
Overview Getting Started Releases All Releases Release Notes Installing Gradle Upgrading Gradle version 8.X to latest version 7.X to 8.0 version 6.X to 7.0 version 5.X to 6.0 version 4.X to 5.0 Migrating to Gradle from Maven from Ant Troubleshooting Compatibility Notes Gradle's Feature Lifecycle Running Gradle Builds Getting Started Learning the Basics 1. Core Concepts 2. Wrapper Basics 3. CLI Bas
User Manual HomeDSL Reference HomeRelease NotesPropertiesMethodsBuild script blocksallprojects { }artifacts { }buildscript { }configurations { }dependencies { }repositories { }sourceSets { }subprojects { }publishing { }Core typesProjectTaskGradleSettingsIncludedBuildProjectLayoutBuildLayoutScriptSourceSetSourceSetOutputSourceDirectorySetConfigurationConsumableConfigurationResolvableConfigurationDe
Gradle is the most popular build system for the JVM and is the default system for Android and Kotlin Multi-Platform projects. It has a rich community plugin ecosystem. Gradle can automate a wide range of software build scenarios using either its built-in functionality, third-party plugins, or custom build logic. Gradle provides a high-level, declarative, and expressive build language that makes it
The following is a reference for executing and customizing the Gradle command-line. It also serves as a reference when writing scripts or configuring continuous integration. Use of the Gradle Wrapper is highly encouraged. Substitute ./gradlew (in macOS / Linux) or gradlew.bat (in Windows) for gradle in the following examples.
Gradle Release Notes Gradle 8.14.1 is the first patch release for Gradle 8.14 (released 2025-05-23). It fixes the following issues: #33288 Groovydoc task suppresses stdout for tasks executing concurrently #33389 Gradle 8.14 breaks Android Gradle Plugin code coverage support We recommend users upgrade to 8.14.1 instead of 8.14. Gradle now supports Java 24. This release adds support for selecting Gr
The recommended way to execute any Gradle build is with the help of the Gradle Wrapper (referred to as "Wrapper"). The Wrapper is a script that invokes a declared version of Gradle, downloading it beforehand if necessary. As a result, developers can get up and running with a Gradle project quickly. Standardizes a project on a given Gradle version for more reliable and robust builds. Provisioning t
Gradle Release Notes Version 2.5 Gradle 2.5 delivers some big features and plenty of internal improvements and optimizations. The new “Continuous build” support brings capability to have Gradle automatically initiate a build in response to file system changes. This works with any build and has many applications. For example, it can be used to get continuous compile and test, giving more immediate
The Java plugin adds Java compilation along with testing and bundling capabilities to a project. It serves as the basis for many of the other JVM language Gradle plugins. You can find a comprehensive introduction and overview to the Java Plugin in the Building Java Projects chapter. As indicated above, this plugin adds basic building blocks for working with JVM projects. Its feature set has been s
A daemon is a computer program that runs as a background process rather than being under the direct control of an interactive user. Gradle runs on the Java Virtual Machine (JVM) and uses several supporting libraries with non-trivial initialization time. Startups can be slow. The Gradle Daemon solves this problem.
Gradle Release Notes Version 2.4 The big story for Gradle 2.4 is the improved performance. While it's not unusual for a new Gradle release to be the fastest Gradle yet, Gradle 2.4 is significantly faster. Many early testers of Gradle 2.4 have reported that overall build times have improved by 20% up to 40%. There are two main components to the improved performance; general configuration time optim
このページを最初にブックマークしてみませんか?
『docs.gradle.org』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く