Fix the Kotlin Maven plugin (#2815)

This commit is contained in:
Marcin Grzejszczak
2022-12-14 13:09:57 +01:00
committed by GitHub
parent ab7f79bd08
commit 548442dc07
3 changed files with 3 additions and 0 deletions

View File

@@ -57,6 +57,7 @@
<spring-cloud-circuitbreaker.version>2.1.6-SNAPSHOT</spring-cloud-circuitbreaker.version>
<spring-cloud-commons.version>3.1.6-SNAPSHOT</spring-cloud-commons.version>
<testcontainers.version>1.17.2</testcontainers.version>
<kotlin-maven-plugin.version>1.6.21</kotlin-maven-plugin.version>
</properties>
<dependencyManagement>

View File

@@ -146,6 +146,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin-maven-plugin.version}</version>
<configuration>
<args>
<arg>-Xjsr305=strict</arg>

View File

@@ -234,6 +234,7 @@
<!-- Based on instructions here - https://kotlinlang.org/docs/reference/using-maven.html -->
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>${kotlin-maven-plugin.version}</version>
<configuration>
<jvmTarget>1.8</jvmTarget>
</configuration>