Example

Official Example

From docs.gradle.org/sample_composite_builds_basics.html.

Glass thought Sandbox Snapshot

Command to reproduce:

gt.sandbox.checkout.commit fd396501a86b5a565736 \
&& cd "${GT_SANDBOX_REPO}/sample_composite_builds_basics-kotlin-dsl" \
&& cmd.run.announce "cd ${GT_SANDBOX_REPO:?}/sample_composite_builds_basics-kotlin-dsl && ./gradlew build"

Recorded output of command:


> Task :buildEnvironment
Daemon JVM: Homebrew JDK 17.0.12+0
  | Location:           /opt/homebrew/Cellar/openjdk@17/17.0.12/libexec/openjdk.jdk/Contents/Home
  | Language Version:   17
  | Vendor:             Homebrew
  | Architecture:       aarch64
  | Is JDK:             true


------------------------------------------------------------
Root project 'my-composite'
------------------------------------------------------------

classpath
No dependencies

A web-based, searchable dependency report is available by adding the --scan option.

BUILD SUCCESSFUL in 429ms
1 actionable task: 1 executed

Backlinks