-
Note: this is a work in progress.
-
Read the documentation for info on Installing and Getting Started
|
Note
|
Use JDK17 |
Normal build without native:
./gradlew clean buildWhich you can then run with:
java -jar build/libs/spring-cli-0.0.1-SNAPSHOT.jarFor native build:
./gradlew clean build nativeCompile -PspringCliNative=true|
Note
|
You need to have GRAALVM_HOME pointing to your graal installation
|
Which you can then run with:
build/native/nativeCompile/spring|
Tip
|
There is a CI workflow which builds native binaries for linux, macos and windows. Published artifacts in CI workflow will get removed daily so take it from a latest run which is scheduled nightly. |
This project uses Spring Javaformat and is enabled by default.
Run individual tasks:
./gradlew checkFormat
./gradlew checkstyleMain
./gradlew checkstyleTest
./gradlew formatYou can temporarily disable checks by setting property springCliChecks to false:
./gradlew build -PspringCliChecks=false./gradlew antoraOutput is in ./docs/build/site/index.html
For more information on the build see README in the docs-build branch.