Skip to content

Commit

Permalink
chore(buildSrc): Update the list of classes to initialize at build time
Browse files Browse the repository at this point in the history
With this, the native image build actually succeeds when using the
latest developer build [1].

[1]: https://github.com/graalvm/graalvm-ce-dev-builds/releases/tag/24.0.0-dev-20230928_2125

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Oct 1, 2023
1 parent 4e81ebd commit b72436d
Showing 1 changed file with 43 additions and 11 deletions.
54 changes: 43 additions & 11 deletions buildSrc/src/main/kotlin/ort-application-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,50 @@ graalvmNative {
"ch.qos.logback.classic.Logger",
"ch.qos.logback.classic.LoggerContext",
"ch.qos.logback.classic.PatternLayout",
"ch.qos.logback.core.CoreConstants",
"ch.qos.logback.classic.encoder.PatternLayoutEncoder",
"ch.qos.logback.classic.joran.JoranConfigurator",
"ch.qos.logback.classic.model.ConfigurationModel",
"ch.qos.logback.classic.model.LoggerModel",
"ch.qos.logback.classic.model.RootLoggerModel",
"ch.qos.logback.classic.model.processor.LoggerModelHandler",
"ch.qos.logback.classic.model.processor.RootLoggerModelHandler",
"ch.qos.logback.classic.pattern.DateConverter",
"ch.qos.logback.classic.pattern.LevelConverter",
"ch.qos.logback.classic.pattern.LineSeparatorConverter",
"ch.qos.logback.classic.pattern.LoggerConverter",
"ch.qos.logback.classic.pattern.MessageConverter",
"ch.qos.logback.classic.pattern.NamedConverter\$CacheMissCalculator",
"ch.qos.logback.classic.pattern.NamedConverter\$NameCache",
"ch.qos.logback.classic.pattern.ThreadConverter",
"ch.qos.logback.classic.pattern.ThrowableProxyConverter",
"ch.qos.logback.classic.spi.LoggerContextVO",
"ch.qos.logback.classic.spi.TurboFilterList",
"ch.qos.logback.classic.util.ContextInitializer",
"ch.qos.logback.classic.util.ContextInitializer\$1",
"ch.qos.logback.classic.util.LogbackMDCAdapter",
"ch.qos.logback.core.BasicStatusManager",
"ch.qos.logback.core.ConsoleAppender",
"ch.qos.logback.core.helpers.CyclicBuffer",
"ch.qos.logback.core.joran.spi.ConfigurationWatchList",
"ch.qos.logback.core.joran.spi.ConsoleTarget\$1",
"ch.qos.logback.core.model.AppenderModel",
"ch.qos.logback.core.model.AppenderRefModel",
"ch.qos.logback.core.model.ImplicitModel",
"ch.qos.logback.core.model.processor.AppenderModelHandler",
"ch.qos.logback.core.model.processor.AppenderRefModelHandler",
"ch.qos.logback.core.model.processor.DefaultProcessor",
"ch.qos.logback.core.model.processor.ImplicitModelHandler",
"ch.qos.logback.core.pattern.FormatInfo",
"ch.qos.logback.core.pattern.LiteralConverter",
"ch.qos.logback.core.spi.AppenderAttachableImpl",
"ch.qos.logback.core.spi.ContextAwareImpl",
"ch.qos.logback.core.spi.FilterAttachableImpl",
"ch.qos.logback.core.spi.LogbackLock",
"ch.qos.logback.core.status.InfoStatus",
"ch.qos.logback.core.status.StatusBase",
"ch.qos.logback.core.util.Loader",
"ch.qos.logback.core.util.StatusPrinter",
"org.apache.sshd.common.file.root.RootedFileSystemProvider",
"org.apache.sshd.sftp.client.fs.SftpFileSystemProvider",
"org.slf4j.LoggerFactory",
"org.slf4j.helpers.NOPLoggerFactory",
"org.slf4j.helpers.NOP_FallbackServiceProvider",
"org.slf4j.helpers.SubstituteLoggerFactory",
"org.slf4j.helpers.SubstituteServiceProvider"
"ch.qos.logback.core.util.COWArrayList",
"ch.qos.logback.core.util.CachingDateFormatter",
"ch.qos.logback.core.util.CachingDateFormatter\$CacheTuple",
"org.apache.sshd.common.file.root.RootedFileSystemProvider"
).joinToString(separator = ",", prefix = "--initialize-at-build-time=")

buildArgs.addAll(
Expand Down

0 comments on commit b72436d

Please sign in to comment.