From 2c32d5df54c228eb150987d86f542b35a6bef0f3 Mon Sep 17 00:00:00 2001 From: Edward Klimoshenko Date: Fri, 22 Jul 2022 06:30:39 +0000 Subject: [PATCH] Add Kotlin compilation to Apex module --- pmd-apex/pom.xml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 4 +-- 2 files changed, 70 insertions(+), 2 deletions(-) diff --git a/pmd-apex/pom.xml b/pmd-apex/pom.xml index 58d39ed630..c30bb82067 100644 --- a/pmd-apex/pom.xml +++ b/pmd-apex/pom.xml @@ -23,6 +23,19 @@ + + kotlin-maven-plugin + org.jetbrains.kotlin + ${kotlin.version} + + + kotlin-compile + + compile + + + + maven-resources-plugin @@ -32,6 +45,51 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + + default-compile + none + + + java-compile + compile + + compile + + + + default-testCompile + none + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + none + + + + + org.jetbrains.dokka + dokka-maven-plugin + ${dokka.version} + + + package + + javadocJar + + + + @@ -49,6 +107,16 @@ guava compile + + org.jetbrains.kotlin + kotlin-stdlib + compile + + + org.jetbrains.kotlin + kotlin-stdlib-jdk8 + compile + com.google.summit summit-ast diff --git a/pom.xml b/pom.xml index b06ed728e5..49de841221 100644 --- a/pom.xml +++ b/pom.xml @@ -874,13 +874,13 @@ org.jetbrains.kotlin kotlin-stdlib ${kotlin.version} - test + runtime org.jetbrains.kotlin kotlin-stdlib-jdk8 ${kotlin.version} - test + runtime org.jetbrains.kotlin