Sample Index
Android
- 
Android Application: Build a simple Android application. 
Build organization
- 
Composite Builds Basics: Defining and using a composite build 
- 
Composite Builds Declared Substitutions: Applying and testing changes in downstream dependencies without publishing. 
- 
Composite Builds Hierarchical Multi Repo: Defining and using a composite build to combine multiple independent builds. 
- 
Composite Builds Plugin Development: Developing a Gradle plugin in a build without publishing. 
- 
Gradle Plugin: Organize your build logic into a Gradle plugin written in Java. 
- 
Multi-project build (JVM): Use dependencies in a multi-project build. 
- 
Precompiled Script Plugin: Use the Groovy or Kotlin DSL in a Gradle plugin. 
- 
Precompiled Script Plugin in buildSrc: Use the Groovy or Kotlin DSL in a Gradle plugin in buildSrc. 
- 
Task with command-line arguments: Pass arguments to a custom task. 
Groovy
- 
Groovy Application: Build a Groovy application. 
- 
Groovy Library: Build a Groovy library. 
- 
Groovy Library Publishing: Publish a Groovy library to a binary repository. 
- 
Testing with Spock: Test a Groovy application and library with Spock. 
Java
- 
Java Application: Build a Java application. 
- 
Java Library: Build a Java library. 
- 
Java Library Publishing: Publish a Java library to a binary repository. 
- 
Reporting code coverage with JaCoCo: Report code coverage on a multi-module project using JaCoCo. 
- 
Testing with JUnit5: Test a Java application and library with JUnit5. 
- 
Testing with Spock: Test a Java application and library with Spock. 
- 
Using additional test types: Add an additional test type (e.g. integration tests) to a project. 
Java Modules
- 
Java Modules: Build Java Modules and a modular Java application. 
- 
Java Modules with Blackbox Tests: Build Java Modules with blackbox integration tests. 
- 
Java Modules with Legacy Libraries: Build a modular Java application that integrates legacy libraries. 
Kotlin
- 
Kotlin Application: Build a Kotlin application. 
- 
Kotlin Library: Build a Kotlin library. 
Spring
- 
Spring Boot Web Application: Build a simple Spring Boot application. 
Using Credentials
- 
Publishing Credentials: Publish to a password protected repository 
- 
Supply credentials to external tool: Pass credentials to an external tool via stdin using Gradle properties.