diff --git a/build.gradle.kts b/build.gradle.kts index b1975d68..6291d659 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -25,29 +25,6 @@ repositories { mavenCentral() } -// TODO remove (all this) once kotlinter supports ktlint 1.3.2+ once that's released. -buildscript { - configurations.classpath { - resolutionStrategy { - repositories { - maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } - } - force( - "com.pinterest.ktlint:ktlint-cli-reporter-checkstyle:1.4.0-SNAPSHOT", - "com.pinterest.ktlint:ktlint-cli-reporter-core:1.4.0-SNAPSHOT", - "com.pinterest.ktlint:ktlint-cli-reporter-html:1.4.0-SNAPSHOT", - "com.pinterest.ktlint:ktlint-cli-reporter-json:1.4.0-SNAPSHOT", - "com.pinterest.ktlint:ktlint-cli-reporter-plain:1.4.0-SNAPSHOT", - "com.pinterest.ktlint:ktlint-cli-reporter-sarif:1.4.0-SNAPSHOT", - "com.pinterest.ktlint:ktlint-rule-engine-core:1.4.0-SNAPSHOT", - "com.pinterest.ktlint:ktlint-rule-engine:1.4.0-SNAPSHOT", - "com.pinterest.ktlint:ktlint-ruleset-standard:1.4.0-SNAPSHOT" - ) - } - } -} -// end to-do - java { sourceCompatibility = JavaVersion.toVersion(libs.versions.java.get()) targetCompatibility = JavaVersion.toVersion(libs.versions.java.get()) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4531377c..5d02cf6c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -8,7 +8,7 @@ java = "11" kotlin = "2.0.20" # https://kotlinlang.org/docs/releases.html#release-details dokka = "1.9.20" # https://mvnrepository.com/artifact/org.jetbrains.dokka/dokka-gradle-plugin -kotlinter = "4.4.1" # https://plugins.gradle.org/plugin/org.jmailen.kotlinter +kotlinter = "4.5.0" # https://plugins.gradle.org/plugin/org.jmailen.kotlinter # Standard Library versions bouncyCastle = "1.78.1" # https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on