build(kotlin): stabilize annotation targets

This commit is contained in:
windyboy
2026-09-09 19:50:33 +08:00
parent 3ed54d306e
commit c688f08337
+4
View File
@@ -20,6 +20,10 @@ java {
kotlin { kotlin {
jvmToolchain(25) jvmToolchain(25)
compilerOptions {
// Keep Jackson XML annotations on both Kotlin constructor parameters and properties.
freeCompilerArgs.add("-Xannotation-default-target=param-property")
}
} }
micronaut { micronaut {