You can create a native executable using:
unset BANNER # just to be sure
./gradlew build -Dquarkus.package.type=native
Run the application:
./build/command-mode-quickstart-gradle-1.0.0-SNAPSHOT-runner
→ header is NOT shown
Set env var BANNER
and run the application:
export BANNER=true
./build/command-mode-quickstart-gradle-1.0.0-SNAPSHOT-runner
→ header is NOT shown although env var is set