Generation of modularized Gradle projects in different logic layers with CLI or website https://cdsap.github.io/ProjectGenerator/
// momentum
// why it's here
- Active: last commit today
- Health 97/100 with only 98 stars
// how to help
// readme
Project Generator
CLI generating modularized Gradle projects based on different shapes
If you need to create small or medium projects (<300 modules), you can use the web generator: https://cdsap.github.io/ProjectGenerator/
Usage
CLI
Install
Homebrew
brew tap cdsap/tap
brew trust cdsap/tap # required on Homebrew 7+
brew install project-generator
Manual download
curl -L https://github.com/cdsap/ProjectGenerator/releases/download/v0.7.1/projectGenerator --output projectGenerator
chmod 0755 projectGenerator
Requires a JDK on PATH (Java 23+).
Modes
1. Generate Project (default)
./projectGenerator generate-project --modules 100
This command generates a project with the specified shape, layers, and modules. All options below can be combined with this mode.
2. Generate YAML Versions File
./projectGenerator generate-yaml-versions
This command generates a versions.yaml file template for custom dependency versions.
Then, you can use the versions.yaml in the generate-project command:
./projectGenerator generate-project --shape triangle --layers 5 --modules 100 --versions-file versions.yaml