Skip to content

Commit 768d4c8

Browse files
committed
Pin Kotlin version
Signed-off-by: Dave Syer <david.syer@broadcom.com>
1 parent ea57534 commit 768d4c8

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

  • specs/spring-cloud-contract-spec-kotlin

specs/spring-cloud-contract-spec-kotlin/pom.xml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xmlns="http://maven.apache.org/POM/4.0.0"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>org.springframework.cloud</groupId>
@@ -13,6 +13,20 @@
1313
<packaging>jar</packaging>
1414
<name>Spring Cloud Contract Spec Kotlin</name>
1515
<description>Spring Cloud Contract Spec Kotlin</description>
16+
<properties>
17+
<kotlin.version>2.2.21</kotlin.version>
18+
</properties>
19+
<dependencyManagement>
20+
<dependencies>
21+
<dependency>
22+
<groupId>org.jetbrains.kotlin</groupId>
23+
<artifactId>kotlin-bom</artifactId>
24+
<version>${kotlin.version}</version>
25+
<type>pom</type>
26+
<scope>import</scope>
27+
</dependency>
28+
</dependencies>
29+
</dependencyManagement>
1630
<dependencies>
1731
<dependency>
1832
<groupId>org.springframework.cloud</groupId>
@@ -102,4 +116,4 @@
102116
</plugin>
103117
</plugins>
104118
</build>
105-
</project>
119+
</project>

0 commit comments

Comments
 (0)