Skip to content

Commit e5c78f1

Browse files
committed
restore versions plugin
1 parent 98b71ae commit e5c78f1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

buildSrc/src/main/kotlin/openapiprocessor.library.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
jacoco
66

77
id("org.jetbrains.kotlin.jvm")
8-
// id("com.github.ben-manes.versions")
8+
id("com.github.ben-manes.versions")
99
}
1010

1111
// see buildSrc/build.gradle.kts

openapi-processor-core/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ dependencies {
111111
testIntImplementation (libs.jimfs)
112112
}
113113

114-
//tasks.named("dependencyUpdates").configure {
115-
// rejectVersionIf {
116-
// String v = it.candidate.version
117-
// println "candidate ${it.candidate}:$v"
118-
// return v.endsWith ("-SNAPSHOT") || v.endsWith ("-M1") || v.contains ("alpha")
119-
// }
120-
//}
114+
tasks.named("dependencyUpdates").configure {
115+
rejectVersionIf {
116+
String v = it.candidate.version
117+
println "candidate ${it.candidate}:$v"
118+
return v.endsWith ("-SNAPSHOT") || v.endsWith ("-M1") || v.contains ("alpha")
119+
}
120+
}
121121

122122
jacocoTestReport {
123123
dependsOn(testInt)

0 commit comments

Comments
 (0)