Fix build

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2022-04-29 19:18:56 +02:00
parent af528d26c4
commit aa2e58b0b3
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

33
pom.xml
View file

@ -15,6 +15,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.code.style>official</kotlin.code.style>
<kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
<kotlin.version>1.6.21</kotlin.version>
</properties>
<repositories>
@ -31,7 +32,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>1.5.10</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
@ -48,6 +49,9 @@
</goals>
</execution>
</executions>
<configuration>
<jvmTarget>1.6</jvmTarget>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
@ -69,6 +73,22 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</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>
<source>8</source>
<target>8</target>
@ -101,6 +121,17 @@
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.6.10</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>