gradle-demos icon indicating copy to clipboard operation
gradle-demos copied to clipboard

A collection of sample builds demonstrating how to do different things in Gradle

Gradle Demo Projects

This is a collection of sample builds demonstrating how to do different things in Gradle. It is a loose collection of demos on different topics. Each demo project was created to answer a question someone asked or to demonstrate an issue. This repository may grow with more demos in the future.

Demos

Each folder is a self-contained demo project:

  • aggregated-javadoc
  • aggregated-publish
  • android-multi-component
  • classloader-isolation-junit-vintage-engine
  • code-gen-with-kotlin
  • custom-repository
  • extending-publications
  • gmm-java-ecosystem
  • guava-conflict
  • internal-platform
  • java-17
  • java-17-modules-kotlin
  • java-19
  • settings-plugin-late-load-build-op-issue
  • share-test-jar
  • sources-variants
  • variants-with-additional-artifacts
  • webdav-publish

Other Resources

Also check out: