build(kotlin): stabilize annotation targets
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user