diff --git a/build.gradle.kts b/build.gradle.kts index 9c21f0cc6..fa41ae287 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,7 +2,7 @@ plugins { kotlin("jvm") version "2.0.21" jacoco id("org.sonarqube") version "5.1.0.4882" - id("com.diffplug.spotless") version "6.21.0" + id("com.diffplug.spotless") version "6.25.0" `maven-publish` } @@ -15,10 +15,10 @@ repositories { dependencies { implementation("org.jetbrains.kotlin:kotlin-stdlib:2.0.21") - testImplementation("org.junit.jupiter:junit-jupiter:[5.11.0,)") - testImplementation("org.hamcrest:hamcrest-core:[2.2,)") + testImplementation("org.junit.jupiter:junit-jupiter:[5.11.3,)") + testImplementation("org.hamcrest:hamcrest-core:[3.0,)") testImplementation("org.zapodot:embedded-db-junit-jupiter:[2.2.0,)") - testRuntimeOnly("org.junit.platform:junit-platform-launcher:[1.11.0,)") + testRuntimeOnly("org.junit.platform:junit-platform-launcher:[1.11.3,)") } tasks.test { @@ -29,12 +29,12 @@ tasks.test { group = "com.github.javadev" version = "1.30-SNAPSHOT" description = "leetcode-in-kotlin" -java.sourceCompatibility = JavaVersion.VERSION_11 -java.targetCompatibility = JavaVersion.VERSION_11 +java.sourceCompatibility = JavaVersion.VERSION_17 +java.targetCompatibility = JavaVersion.VERSION_17 tasks.withType { compilerOptions { - jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11) + jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17) } } diff --git a/pom-central.xml b/pom-central.xml index 6a5fdc619..ea867be32 100644 --- a/pom-central.xml +++ b/pom-central.xml @@ -47,7 +47,7 @@ kotlin-maven-plugin ${kotlin.version} - 11 + 17 @@ -74,7 +74,7 @@ org.junit.jupiter junit-jupiter-engine - [5.11.0,) + [5.11.3,) @@ -121,7 +121,7 @@ - 11 + 17 @@ -149,25 +149,25 @@ org.junit.jupiter junit-jupiter-api - [5.11.0,) + [5.11.2,) test org.junit.jupiter junit-jupiter-engine - [5.11.0,) + [5.11.3,) test org.junit.platform junit-platform-launcher - [1.11.0,) + [1.11.3,) test org.hamcrest hamcrest-core - [2.2,) + [3.0,) test diff --git a/pom.xml b/pom.xml index 24bc8a0c7..fd9ffc33b 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,7 @@ kotlin-maven-plugin ${kotlin.version} - 11 + 17 @@ -73,7 +73,7 @@ org.junit.jupiter junit-jupiter-engine - [5.11.0,) + [5.11.3,) @@ -140,25 +140,25 @@ org.junit.jupiter junit-jupiter-api - [5.11.0,) + [5.11.3,) test org.junit.jupiter junit-jupiter-engine - [5.11.0,) + [5.11.3,) test org.junit.platform junit-platform-launcher - [1.11.0,) + [1.11.3,) test org.hamcrest hamcrest-core - [2.2,) + [3.0,) test