Android
-
Building Android Apps: 建置簡單的 Android 應用程式。
建置組織
-
Composite Builds Basics: 定義和使用複合建置
-
Composite Builds Declared Substitutions: 在不發布的情況下,應用和測試下游依賴項中的變更。
-
Composite Builds Hierarchical Multirepo: 定義和使用複合建置來組合多個獨立建置。
-
Composite Builds Plugin Development: 在不發布的情況下,在建置中開發 Gradle 外掛程式。
-
Gradle Plugin: 將您的建置邏輯組織到以 Java 撰寫的 Gradle 外掛程式中。
-
Sharing build logic between subprojects: 將建置邏輯組織成可重複使用的部分
-
Sharing build logic in a multi-repo setup: 組織和發布建置邏輯,以便在其他專案中重複使用
-
Sharing convention plugins with build logic build: 在主要建置和建置邏輯建置中重複使用慣例外掛程式
-
Sharing task outputs across projects in a multi-project build: 在一個 Gradle 專案中共享由任務建立的檔案,並在另一個 Gradle 專案中的任務中使用。
-
Structuring Software Projects: 使用 Gradle 結構化軟體產品專案
C++
-
Building C++ Applications: 逐步設定 C++ 應用程式專案。
-
Building C++ Libraries: 逐步設定 C++ 函式庫專案。
Groovy
-
Building Groovy Applications: 逐步設定 Groovy 應用程式專案。
-
Building Groovy Applications with libraries: 逐步設定帶有函式庫的 Groovy 應用程式專案。
-
Building Groovy Libraries: 逐步設定 Groovy 函式庫專案。
-
Publishing Groovy Libraries: 將 Groovy 函式庫發布到二進制儲存庫。
IDE 整合
-
Reporting and receiving problems via the Problems API: 從外掛程式回報問題,並在 IDE 整合中使用它
Java
-
Aggregating code coverage with JaCoCo from an application/distribution (Incubating): 使用 JaCoCo 從多模組專案的應用程式/發行版產生程式碼覆蓋率報告 (孵化中)。
-
Aggregating code coverage with JaCoCo using a standalone utility project (Incubating): 使用 JaCoCo 從多模組專案產生程式碼覆蓋率報告,並使用獨立實用工具專案 (孵化中)。
-
Aggregating test results of an application/distribution (Incubating): 使用多模組專案的應用程式/發行版報告所有測試結果 (孵化中)。
-
Aggregating test results using a standalone utility project (Incubating): 使用獨立實用工具專案報告所有測試結果,作為多模組專案的一部分 (孵化中)。
-
Building Java Applications: 逐步設定 Java 應用程式專案。
-
Building Java Applications with libraries: 逐步設定帶有函式庫的 Java 應用程式專案。
-
Building Java Libraries: 逐步設定 Java 函式庫專案。
-
Publishing Java Libraries: 將 Java 函式庫發布到二進制儲存庫。
-
Sharing build logic in a multi-repo setup with Test Suites (Incubating): 在多儲存庫設定中使用新的測試套件 API 組織和發布建置邏輯,以便在其他專案中重複使用 (孵化中)。
-
Using additional test types: 將其他測試類型 (例如整合測試) 新增至專案。
-
Using additional test types with Test Suites (Incubating): 使用新的測試套件 API 將其他測試類型 (例如整合測試) 新增至專案 (孵化中)。
-
Using toolchains: 使用工具鏈配置 JVM 以用於編譯和測試。
Java 模組
-
Building Java Modules: 建置 Java 模組和模組化 Java 應用程式。
-
Building Java Modules with Blackbox Tests: 建置帶有黑箱整合測試的 Java 模組。
-
Building Java Modules with Blackbox Tests with Test Suites (Incubating): 使用新的測試套件 API 建置帶有黑箱整合測試的 Java 模組 (孵化中)。
-
Building Java Modules with Legacy Libraries: 建置整合舊版函式庫的模組化 Java 應用程式。
Kotlin
-
Building Kotlin Applications: 逐步設定 Kotlin 應用程式專案。
-
Building Kotlin Applications with libraries: 逐步設定帶有函式庫的 Kotlin 應用程式專案。
-
Building Kotlin Libraries: 逐步設定 Kotlin 函式庫專案。
Scala
-
Building Scala Applications: 逐步設定 Scala 應用程式專案。
-
Building Scala Applications with libraries: 逐步設定帶有函式庫的 Scala 應用程式專案。
-
Building Scala Libraries: 逐步設定 Scala 函式庫專案。
Spring
-
Building Spring Boot Web Applications: 建置簡單的 Spring Boot 應用程式。
Swift
-
Building Swift Applications: 逐步設定 Swift 應用程式專案。
-
Building Swift Libraries: 逐步設定 Swift 函式庫專案。
使用憑證
-
Publishing Credentials: 發布到受密碼保護的儲存庫
-
Supply credentials to external tool: 使用 Gradle 屬性透過 stdin 將憑證傳遞至外部工具。
編寫自訂任務
-
Implementing Tasks with Command-line Arguments: 將引數傳遞至自訂任務。
-
Implementing a task that runs tests: 在 JVM 外部執行測試。
-
Implementing tasks with dependency resolution result inputs: 在任務中使用依賴解析結果輸入。