mirror of
https://github.com/dalbodeule/sh0rt.kr-pdns.git
synced 2025-06-08 10:48:20 +00:00
fix pdns api clients (retry 15x)
reflect-config.json add
This commit is contained in:
parent
030b31cbdd
commit
9a406f1b3e
@ -81,7 +81,7 @@ tasks.withType<BootBuildImage> {
|
||||
|
||||
environment = mapOf(
|
||||
"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_VERSION" to "21",
|
||||
)
|
||||
@ -100,5 +100,6 @@ tasks.named<org.springframework.boot.gradle.tasks.run.BootRun>("bootRun") {
|
||||
graalvmNative {
|
||||
binaries.all {
|
||||
buildArgs.add("--initialize-at-build-time=org.slf4j.helpers")
|
||||
buildArgs.add("-H:ReflectionConfigurationFiles=src/main/resources/reflect-config.json")
|
||||
}
|
||||
}
|
8
src/main/resources/reflect-config.json
Normal file
8
src/main/resources/reflect-config.json
Normal file
@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"name": "space.mori.dnsapi.PowerDNSAPIError",
|
||||
"allDeclaredConstructors": true,
|
||||
"allDeclaredFields": true,
|
||||
"allDeclaredMethods": true
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user