Skip to content

Commit

Permalink
Update kotlinter
Browse files Browse the repository at this point in the history
  • Loading branch information
LossyDragon committed Dec 4, 2024
1 parent 5567e0b commit 10d5a2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
23 changes: 0 additions & 23 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10d5a2a

Please sign in to comment.