JVM (java / kotlin) starter using Gradle / Maven build tools.
git clone -b spring-all --depth=1 https://github.com/daggerok/main-starter.git
cd main-starter
rm -rf .git
fat jar
./mvnw package
java -jar target/*.jar
project sources archive
find archive with all project sources in target folder too:
./mvnw assembly:single -Dassembly.ignoreMissingDescriptor
unzip -d target/sources target/*-sources.zip
unzip -d target/default target/*-src.zip
JVM (java / kotlin) starter using Gradle / Maven build tools.
fat jar
./gradlew build
java -jar build/libs/*.jar
project sources archive
to create archive with all project sources use gradle sources task, like so:
./gradlew sources
unzip -d build/sources build/*.zip
NOTE: This project has been based on GitHub: daggerok/main-starter