Skip to content

Instantly share code, notes, and snippets.

@nikhiljha
Created March 28, 2023 22:34
Show Gist options
  • Save nikhiljha/8e36af82213fde5fdbfa616817ca9c34 to your computer and use it in GitHub Desktop.
Save nikhiljha/8e36af82213fde5fdbfa616817ca9c34 to your computer and use it in GitHub Desktop.
diff --git a/pom.xml b/pom.xml
index 44e66b1..0a23f94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,6 +11,7 @@
<!-- Set this property to true on the command-line for very verbose output -->
<properties>
<chocopy.debug>false</chocopy.debug>
+ <kotlin.version>1.8.20-Beta</kotlin.version>
</properties>
<build>
@@ -63,10 +64,50 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-maven-plugin</artifactId>
+ <version>${kotlin.version}</version>
+ <executions>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>test-compile</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>test-compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <jvmTarget>1.8</jvmTarget>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
+ <executions>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>testCompile</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>testCompile</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
<encoding>UTF-8</encoding>
<source>1.8</source>
@@ -350,8 +391,8 @@
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-stdlib</artifactId>
- <version>1.2.71</version>
+ <artifactId>kotlin-stdlib-jdk8</artifactId>
+ <version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>edu.berkeley.eecs.venus164</groupId>
@@ -369,5 +410,11 @@
<artifactId>proguard-base</artifactId>
<version>6.0.3</version>
</dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-test</artifactId>
+ <version>${kotlin.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment