From c7c263b18a98f75f822a54cd3f0cb3f39836ec80 Mon Sep 17 00:00:00 2001 From: spencergibb Date: Mon, 27 Oct 2025 13:09:18 -0400 Subject: [PATCH] Manage kotlin-maven-plugin See https://github.com/spring-projects/spring-framework/blob/6.2.x/buildSrc/src/main/java/org/springframework/build/KotlinConventions.java#L38-L39 Fixes gh-570 --- pom.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/pom.xml b/pom.xml index 2f76652d..93cab08c 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,7 @@ ${project.artifactId} 3.5.8-SNAPSHOT 4.3.2-SNAPSHOT + 1.9.25 ${project.build.directory}/build-docs ${project.build.directory}/build-docs-classes ${project.build.directory}/refdocs/ @@ -297,6 +298,31 @@ + + org.jetbrains.kotlin + kotlin-maven-plugin + ${kotlin.version} + + + compile + + compile + + + + 1.7 + 1.7 + 17 + true + -Xjsr305=strict -opt-in=kotlin.RequiresOptIn + + ${project.basedir}/src/main/kotlin + ${project.basedir}/src/main/java + + + + + org.codehaus.mojo flatten-maven-plugin