Skip to content

Commit

Permalink
Merge pull request #539 from softwaremill/environment-variables-confi…
Browse files Browse the repository at this point in the history
…g-override-fix-for-native-image

Do not initialize anything at build time for native-image
  • Loading branch information
adamw authored Oct 1, 2021
2 parents defdb08 + 9bf27b7 commit 7495217
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,13 @@ lazy val nativeServer: Project = (project in file("native-server"))
"-H:IncludeResources=.*conf",
"-H:IncludeResources=version",
"-H:IncludeResources=.*\\.properties",
"-H:IncludeResources='org/joda/time/tz/data/.*'",
"-H:IncludeResources=org/joda/time/tz/data/.*",
"-H:+ReportExceptionStackTraces",
"-H:-ThrowUnsafeOffsetErrors",
"-H:+PrintClassInitialization",
"--enable-http",
"--enable-https",
"--enable-url-protocols=https,http",
"--initialize-at-build-time",
"--report-unsupported-elements-at-runtime",
"--allow-incomplete-classpath",
"--no-fallback",
Expand Down

0 comments on commit 7495217

Please sign in to comment.