CICD

Gradle Playground

Gradle is a flexible, open-source build automation tool for Java, Kotlin, and other languages, offering high performance and scalability..

Get access to the Gradle playground with one click

Welcome to the Gradle Playground!

Gradle (latest) on Eclipse Temurin JDK 17 (Alpine) — the high-performance, Groovy/Kotlin DSL build system favoured by Android, Spring Boot, and enterprise Java teams.

What’s Pre-installed

  • Gradle (latest binary) with gradle on PATH
  • JDK 17 (Eclipse Temurin, Alpine)
  • Tools: bash, curl, vim, nano

Quick Start

gradle --version
java -version

Common Workflows

# Initialise a Java application
gradle init --type java-application \
  --dsl groovy \
  --test-framework junit-jupiter

cd app
gradle build          # compile + test
gradle test           # run tests only
gradle run            # run the application
gradle jar            # build JAR only

Advanced Tips

# Show all tasks with descriptions
gradle tasks --all

# Show dependency tree
gradle dependencies

# Build a specific subproject
gradle :subproject:build

# Parallel build (multi-project)
gradle build --parallel

# Continuous build (watch mode)
gradle build --continuous

Session Notes

  • Session lasts 1 hour.
  • First build downloads the Gradle wrapper and dependencies. Subsequent builds use the daemon cache.