commit | acaa0570c91a2048bab3c3786dbcc8eea6d2e4d0 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sun Jan 26 18:05:50 2020 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sun Jan 26 18:05:50 2020 +0100 |
tree | f2a8223caa0d22bf8babe46fcbd8b0a0571cc60f | |
parent | 5d07527e63fe3ebeecc19c9a05eee6791c177d06 [diff] |
Add out/ to .gitignore. Change-Id: I518501f08fe7ad37b6e104c76bd4e557807deba6
This project uses Quarkus, the Supersonic Subatomic Java Framework.
If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .
You can run your application in dev mode that enables live coding using:
./gradlew quarkusDev
The application is packageable using ./gradlew quarkusBuild
. It produces the executable mulkcms2-1.0.0-SNAPSHOT-runner.jar
file in build
directory. Be aware that it’s not an über-jar as the dependencies are copied into the build/lib
directory.
The application is now runnable using java -jar build/mulkcms2-1.0.0-SNAPSHOT-runner.jar
.
If you want to build an über-jar, just add the --uber-jar
option to the command line:
./gradlew quarkusBuild --uber-jar
You can create a native executable using: ./gradlew buildNative
.
Or you can use Docker to build the native executable using: ./gradlew buildNative --docker-build=true
.
You can then execute your binary: ./build/mulkcms2-1.0.0-SNAPSHOT-runner
If you want to learn more about building native executables, please consult https://quarkus.io/guides/gradle-tooling#building-a-native-executable .