Skip to content

mymx2/starter-gradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

184 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

maven-central-version maven-metadata-url git-hub-release

codacy-grade codecov git-hub-actions-workflow-status

JDK GRADLE KOTLIN NODE

mymx2 Markdown git-hub-license Ask DeepWiki

πŸ•οΈ Project Template

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, ...).

🧱 Project Overview

You can find a detailed explanation of the project structure in Gradle Basics.

Core Concepts

Gradle Project Structure

Project Structure

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

Build Lifecycle

Build Lifecycle

Configuration Cache

Configuration Cache

The Configuration Cache improves build performance by caching the result of the configuration phase and reusing it for subsequent builds.

Dependency Scopes

https://docs.gradle.org/nightly/userguide/declaring_configurations.html#sec:resolvable-consumable-configs

Mapping between Java module directives and Gradle configurations to declare dependencies: declaring_module_dependencies

🍰 Project Usage

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 gradlew

🏝️ Thanks

This project is heavily inspired by the following awesome projects.

About

Starter template for Gradle

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages