Skip to content

Commit d28a3c6

Browse files
committed
Kotlin 2.1
1 parent 19c88b3 commit d28a3c6

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
kotlin("jvm") version "2.0.21"
2+
kotlin("jvm") version "2.1.0-RC"
33
jacoco
44
id("org.sonarqube") version "5.1.0.4882"
55
id("com.diffplug.spotless") version "6.12.0"
@@ -14,7 +14,7 @@ repositories {
1414
}
1515

1616
dependencies {
17-
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.0.21")
17+
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.1.0-RC")
1818
testImplementation("org.junit.jupiter:junit-jupiter:[5.11.0,)")
1919
testImplementation("org.hamcrest:hamcrest-core:[2.2,)")
2020
testImplementation("org.zapodot:embedded-db-junit-jupiter:[2.2.0,)")
@@ -34,7 +34,7 @@ java.targetCompatibility = JavaVersion.VERSION_11
3434

3535
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
3636
compilerOptions {
37-
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)
37+
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
3838
}
3939
}
4040

pom-central.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<url>https://github.com/javadev/LeetCode-in-Kotlin</url>
2828
</scm>
2929
<properties>
30-
<kotlin.version>2.0.21</kotlin.version>
30+
<kotlin.version>2.1.0-RC</kotlin.version>
3131
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3232
</properties>
3333
<ciManagement>
@@ -47,7 +47,7 @@
4747
<artifactId>kotlin-maven-plugin</artifactId>
4848
<version>${kotlin.version}</version>
4949
<configuration>
50-
<jvmTarget>11</jvmTarget>
50+
<jvmTarget>17</jvmTarget>
5151
</configuration>
5252
<executions>
5353
<execution>
@@ -74,7 +74,7 @@
7474
<dependency>
7575
<groupId>org.junit.jupiter</groupId>
7676
<artifactId>junit-jupiter-engine</artifactId>
77-
<version>[5.11.0,)</version>
77+
<version>[5.11.3,)</version>
7878
</dependency>
7979
</dependencies>
8080
</plugin>
@@ -149,25 +149,25 @@
149149
<dependency>
150150
<groupId>org.junit.jupiter</groupId>
151151
<artifactId>junit-jupiter-api</artifactId>
152-
<version>[5.11.0,)</version>
152+
<version>[5.11.3,)</version>
153153
<scope>test</scope>
154154
</dependency>
155155
<dependency>
156156
<groupId>org.junit.jupiter</groupId>
157157
<artifactId>junit-jupiter-engine</artifactId>
158-
<version>[5.11.0,)</version>
158+
<version>[5.11.3,)</version>
159159
<scope>test</scope>
160160
</dependency>
161161
<dependency>
162162
<groupId>org.junit.platform</groupId>
163163
<artifactId>junit-platform-launcher</artifactId>
164-
<version>[1.11.0,)</version>
164+
<version>[1.11.3,)</version>
165165
<scope>test</scope>
166166
</dependency>
167167
<dependency>
168168
<groupId>org.hamcrest</groupId>
169169
<artifactId>hamcrest-core</artifactId>
170-
<version>[2.2,)</version>
170+
<version>[3.0,)</version>
171171
<scope>test</scope>
172172
</dependency>
173173
<dependency>

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<url>https://github.com/javadev/LeetCode-in-Kotlin</url>
2727
</scm>
2828
<properties>
29-
<kotlin.version>2.0.21</kotlin.version>
29+
<kotlin.version>2.1.0-RC</kotlin.version>
3030
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3131
</properties>
3232
<ciManagement>
@@ -46,7 +46,7 @@
4646
<artifactId>kotlin-maven-plugin</artifactId>
4747
<version>${kotlin.version}</version>
4848
<configuration>
49-
<jvmTarget>11</jvmTarget>
49+
<jvmTarget>17</jvmTarget>
5050
</configuration>
5151
<executions>
5252
<execution>
@@ -73,7 +73,7 @@
7373
<dependency>
7474
<groupId>org.junit.jupiter</groupId>
7575
<artifactId>junit-jupiter-engine</artifactId>
76-
<version>[5.11.0,)</version>
76+
<version>[5.11.3,)</version>
7777
</dependency>
7878
</dependencies>
7979
</plugin>
@@ -140,25 +140,25 @@
140140
<dependency>
141141
<groupId>org.junit.jupiter</groupId>
142142
<artifactId>junit-jupiter-api</artifactId>
143-
<version>[5.11.0,)</version>
143+
<version>[5.11.3,)</version>
144144
<scope>test</scope>
145145
</dependency>
146146
<dependency>
147147
<groupId>org.junit.jupiter</groupId>
148148
<artifactId>junit-jupiter-engine</artifactId>
149-
<version>[5.11.0,)</version>
149+
<version>[5.11.3,)</version>
150150
<scope>test</scope>
151151
</dependency>
152152
<dependency>
153153
<groupId>org.junit.platform</groupId>
154154
<artifactId>junit-platform-launcher</artifactId>
155-
<version>[1.11.0,)</version>
155+
<version>[1.11.3,)</version>
156156
<scope>test</scope>
157157
</dependency>
158158
<dependency>
159159
<groupId>org.hamcrest</groupId>
160160
<artifactId>hamcrest-core</artifactId>
161-
<version>[2.2,)</version>
161+
<version>[3.0,)</version>
162162
<scope>test</scope>
163163
</dependency>
164164
<dependency>

0 commit comments

Comments
 (0)