From 6e735db324583bda361deeba59b06d63ab3788e7 Mon Sep 17 00:00:00 2001 From: Elizabeth Worstell Date: Fri, 3 Nov 2023 14:29:45 -0700 Subject: [PATCH] update kotlin init templates to use detekt instead of ksp --- .../services/ad-kotlin/pom.xml | 63 ++++++++++++------- kotlin-runtime/scaffolding/pom.xml | 63 ++++++++++++------- 2 files changed, 84 insertions(+), 42 deletions(-) diff --git a/examples/online-boutique/services/ad-kotlin/pom.xml b/examples/online-boutique/services/ad-kotlin/pom.xml index ba71348f13..d873ce929a 100644 --- a/examples/online-boutique/services/ad-kotlin/pom.xml +++ b/examples/online-boutique/services/ad-kotlin/pom.xml @@ -12,6 +12,8 @@ 11 1.9.0 true + ${java.version} + ${java.version} @@ -62,26 +64,6 @@ - - - ksp - - - - - - - - com.dyescape - kotlin-maven-symbol-processing - 1.6 - - - ${project.groupId} - ftl-runtime - ${ftl.version} - - @@ -103,6 +85,13 @@ jar-with-dependencies ftl-generator.jar + + xyz.block + ftl-runtime + ${ftl.version} + jar-with-dependencies + ftl-runtime.jar + @@ -125,7 +114,8 @@ ${project.build.directory}/classpath.txt - dependency + generated.classpath + ${project.build.directory}/dependency @@ -172,6 +162,37 @@ + + com.github.ozsie + detekt-maven-plugin + 1.23.3 + + true + ${generated.classpath} + ${java.version} + ${project.build.directory}/detekt.yml + + + ${project.build.directory}/dependency/ftl-runtime-${ftl.version}.jar + + + + + + compile + + check-with-type-resolution + + + + + + xyz.block + ftl-runtime + ${ftl.version} + + + \ No newline at end of file diff --git a/kotlin-runtime/scaffolding/pom.xml b/kotlin-runtime/scaffolding/pom.xml index d937ef1ec5..690d505285 100644 --- a/kotlin-runtime/scaffolding/pom.xml +++ b/kotlin-runtime/scaffolding/pom.xml @@ -12,6 +12,8 @@ 11 1.9.0 true + ${java.version} + ${java.version} @@ -62,26 +64,6 @@ - - - ksp - - - - - - - - com.dyescape - kotlin-maven-symbol-processing - 1.6 - - - xyz.block - ftl-runtime - ${ftl.version} - - org.apache.maven.plugins @@ -103,6 +85,13 @@ jar-with-dependencies ftl-generator.jar + + xyz.block + ftl-runtime + ${ftl.version} + jar-with-dependencies + ftl-runtime.jar + @@ -127,7 +116,8 @@ ${project.build.directory}/classpath.txt - dependency + generated.classpath + ${project.build.directory}/dependency @@ -176,6 +166,37 @@ + + com.github.ozsie + detekt-maven-plugin + 1.23.3 + + true + ${generated.classpath} + ${java.version} + ${project.build.directory}/detekt.yml + + + ${project.build.directory}/dependency/ftl-runtime-${ftl.version}.jar + + + + + + compile + + check-with-type-resolution + + + + + + xyz.block + ftl-runtime + ${ftl.version} + + + \ No newline at end of file