fix pdns api clients (retry 15x)

reflect-config.json add
This commit is contained in:
dalbodeule 2024-06-07 13:04:27 +09:00
parent 030b31cbdd
commit 9a406f1b3e
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65
2 changed files with 10 additions and 1 deletions

View File

@ -81,7 +81,7 @@ tasks.withType<BootBuildImage> {
environment = mapOf( environment = mapOf(
"BP_NATIVE_IMAGE" to "true", "BP_NATIVE_IMAGE" to "true",
"BP_NATIVE_IMAGE_BUILD_ARGUMENTS" to "-H:+UnlockExperimentalVMOptions", "BP_NATIVE_IMAGE_BUILD_ARGUMENTS" to "-H:+UnlockExperimentalVMOptions -H:ReflectionConfigurationFiles=src/main/resources/reflect-config.json",
"BP_JVM_TYPE" to "JDK", "BP_JVM_TYPE" to "JDK",
"BP_JVM_VERSION" to "21", "BP_JVM_VERSION" to "21",
) )
@ -100,5 +100,6 @@ tasks.named<org.springframework.boot.gradle.tasks.run.BootRun>("bootRun") {
graalvmNative { graalvmNative {
binaries.all { binaries.all {
buildArgs.add("--initialize-at-build-time=org.slf4j.helpers") buildArgs.add("--initialize-at-build-time=org.slf4j.helpers")
buildArgs.add("-H:ReflectionConfigurationFiles=src/main/resources/reflect-config.json")
} }
} }

View File

@ -0,0 +1,8 @@
[
{
"name": "space.mori.dnsapi.PowerDNSAPIError",
"allDeclaredConstructors": true,
"allDeclaredFields": true,
"allDeclaredMethods": true
}
]