From c688f0833765a08015d4d43f675f08dc86981ea8 Mon Sep 17 00:00:00 2001 From: windyboy Date: Wed, 9 Sep 2026 19:50:33 +0800 Subject: [PATCH] build(kotlin): stabilize annotation targets --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index d7e5e82..405335b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,6 +20,10 @@ java { kotlin { jvmToolchain(25) + compilerOptions { + // Keep Jackson XML annotations on both Kotlin constructor parameters and properties. + freeCompilerArgs.add("-Xannotation-default-target=param-property") + } } micronaut {