summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-01-17 16:47:46 -0500
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-01-18 08:08:02 -0500
commit1e6299583fea73e98f3ad017da81c1addf8beba5 (patch)
treed8122b991fa7c299a911eb3a85b0d0a20399b420
parent5c0d285ad38120a757ccbb92ae520b6b77f717eb (diff)
Fix classpath issue w/ guava
Kotlin compiler embeded guava dependency, hence it's ending w/ a classpath issue. kotlin-compiler-embaddeable fixes this issue, and is getting pulled already. So we exclude koltin-compiler to avoid issue. Change-Id: Ib703e4b4ac7a478f1918282b35bcd646f5c83038 Issue-ID: CCSDK-961 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
-rw-r--r--components/parent/pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/parent/pom.xml b/components/parent/pom.xml
index 8ecb2c1a2..365515aa1 100644
--- a/components/parent/pom.xml
+++ b/components/parent/pom.xml
@@ -304,7 +304,19 @@
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-compiler-embeddable</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-scripting-jvm-host</artifactId>
+ <!--Use kotlin-compiler-embeddable as koltin-compiler wrap-->
+ <!--guava dependency creating classpath issues at runtime-->
+ <exclusions>
+ <exclusion>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-compiler</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- GRPC Dependencies -->
<dependency>