Update package_native run cmd
Using flags from c4k-keycloak
This commit is contained in:
parent
2547fa67b6
commit
74e493d5c0
1 changed files with 5 additions and 2 deletions
7
build.py
7
build.py
|
@ -129,10 +129,13 @@ def package_native(project):
|
||||||
"--no-server " +
|
"--no-server " +
|
||||||
"--no-fallback " +
|
"--no-fallback " +
|
||||||
"--features=clj_easy.graal_build_time.InitClojureClasses " +
|
"--features=clj_easy.graal_build_time.InitClojureClasses " +
|
||||||
f"-jar target/uberjar/{project.name}-standalone.jar " +
|
"-jar target/uberjar/" + project.name + "-standalone.jar " +
|
||||||
|
"-march=compatibility " +
|
||||||
|
"-H:+UnlockExperimentalVMOptions " +
|
||||||
"-H:IncludeResources=.*.yaml " +
|
"-H:IncludeResources=.*.yaml " +
|
||||||
|
"-H:IncludeResources=logback.xml " +
|
||||||
"-H:Log=registerResource:verbose " +
|
"-H:Log=registerResource:verbose " +
|
||||||
f"-H:Name=target/graalvm/{project.name}",
|
"-H:Name=target/graalvm/" + project.name + "",
|
||||||
shell=True,
|
shell=True,
|
||||||
check=True,
|
check=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue