Skip to content

Commit 7027d62

Browse files
committed
build: update versions plugin
1 parent 446d455 commit 7027d62

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎buildSrc/src/main/kotlin/openapiparser.library.gradle.kts‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
`java-library`
99
kotlin
1010
id("org.checkerframework")
11-
id("com.github.ben-manes.versions")
11+
id("io.github.ben-manes.versions")
1212
}
1313

1414
// see buildSrc/build.gradle.kts
@@ -77,17 +77,19 @@ configure<org.checkerframework.gradle.plugin.CheckerFrameworkExtension> {
7777
)
7878
}
7979

80-
tasks.withType<DependencyUpdatesTask> {
80+
tasks.named<DependencyUpdatesTask>("dependencyUpdates") {
8181
rejectVersionIf {
8282
println("candidate: $candidate stable: ${!candidate.version.isNonStable()}")
8383
candidate.version.isNonStable()
8484
}
8585

86+
val projectPath = project.path
87+
8688
outputFormatter {
8789
exceeded.dependencies.removeIf { d -> ignore.contains("${d.group}:${d.name}") }
8890

8991
val plainTextReporter = PlainTextReporter(
90-
project,
92+
projectPath,
9193
revision,
9294
gradleReleaseChannel
9395
)

‎gradle/libs.versions.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ checker = "4.2.2"
1111
checkerp = "0.6.61"
1212
jacoco = "0.8.11"
1313
jacocolog = "4.0.1"
14-
updates = "0.52.0"
14+
updates = "0.55.0"
1515

1616
[libraries]
1717
checker = { module = "org.checkerframework:checker", version.ref = "checker" }
@@ -42,7 +42,7 @@ mockk = "io.mockk:mockk:1.14.11"
4242
plugin-build = { module = "io.openapiprocessor:build-plugins", version.ref = "build-plugins" }
4343
plugin-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
4444
plugin-checker = { module = "org.checkerframework:checkerframework-gradle-plugin", version.ref = "checkerp" }
45-
plugin-updates = { module = "com.github.ben-manes:gradle-versions-plugin", version.ref = "updates" }
45+
plugin-updates = { module = "io.github.ben-manes:gradle-versions-plugin", version.ref = "updates" }
4646
plugin-jacocolog = { module = "org.barfuin.gradle.jacocolog:org.barfuin.gradle.jacocolog.gradle.plugin", version.ref = "jacocolog" }
4747

4848

0 commit comments

Comments
 (0)