Simple Gradle init with common Java and Kotlin configuration plugins.
Check getting started.
- Gradle version
8.12.1
- Kotlin version
2.1.10
- Java version
23
- Gradle Toolchains for JVM projects.
- Gradle Version Catalogs feature via the libs TOML file.
- Gradle JVM Test Suites feature for defining test suites.
- Bash should be installed
curl
orwget
should be installed
To use this project template simply run one of the following commands in your terminal.
Method | Command |
---|---|
curl | bash -c "$(curl -fsSL "https://raw.githubusercontent.com/chriptus13/GradleInit/refs/heads/main/init.sh")" |
wget | bash -c "$(wget -O- "https://raw.githubusercontent.com/chriptus13/GradleInit/refs/heads/main/init.sh")" |
If you tend to start a lot of projects you can include the following in your Shell profile and simple do new_jvm_project <project_name>
whenever you're starting a new project.
new_jvm_project() {
project_name=$1
echo "$project_name" | bash -c "$(curl -fsSL "https://raw.githubusercontent.com/chriptus13/GradleInit/refs/heads/main/init.sh")"
}