This repo contains a Gradle project structure with:
- Centralized and maintainable build configuration and custom build logic
- No dependency hell through smart dependency management with dependency rules and analysis
The starter project contains everything for a traditional JVM project. The structure though, is good for any kind of project you may build with Gradle (Kotlin, Groovy, Scala, ...).
You can find a detailed explanation of the project structure in Gradle Basics.
project
βββ gradle
β βββ libs.versions.toml
β βββ wrapper
β βββ gradle-wrapper.jar
β βββ gradle-wrapper.properties
βββ gradlew
βββ gradlew.bat
βββ settings.gradle(.kts)
βββ subproject-a
β βββ build.gradle(.kts)
β βββ src
βββ subproject-b
βββ build.gradle(.kts)
βββ src
The Configuration Cache improves build performance by caching the result of the configuration phase and reusing it for subsequent builds.
Mapping between Java module directives and Gradle configurations to declare dependencies: declaring_module_dependencies
you can run ./gradlew help to get
gradle commands-line usage help.
you can run git update-index --chmod=+x gradlew to make gradlew executable.
git update-index --chmod=+x gradlewThis project is heavily inspired by the following awesome projects.



