Skip to content

Commit

Permalink
Declare more versions in a way that allows updates via Dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jun 13, 2024
1 parent 932cfb7 commit fc5b9dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jackson = "2.17.1"
jacoco = "0.8.7"
jmh = "1.37"
junit4 = "4.13.2"
junit4Osgi = "4.13.2_1"
junit4Min = "4.12"
ktlint = "0.48.2"
log4j = "2.23.1"
Expand Down Expand Up @@ -66,6 +65,10 @@ testingAnnotations = { module = "com.gradle:develocity-testing-annotations", ver
# Only declared here so Dependabot knows when to update the referenced versions
asciidoctorj-pdf = { module = "org.asciidoctor:asciidoctorj-pdf", version.ref = "asciidoctorj-pdf" }
eclipse-platform = { module = "org.eclipse.platform:org.eclipse.platform", version.ref = "eclipse" }
jacoco = { module = "org.jacoco:jacoco", version.ref = "jacoco" }
junit4-latest = { module = "junit:junit", version.ref = "junit4" }
junit4-bundle = { module = "org.apache.servicemix.bundles:org.apache.servicemix.bundles.junit", version = "4.13.2_1" }
ktlint-cli = { module = "com.pinterest.ktlint:ktlint-cli", version.ref = "ktlint" }

[bundles]
ant = ["ant", "ant-junit", "ant-junitlauncher"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ dependencies {
}
}
pluginManager.withPlugin("junitbuild.osgi-conventions") {
val junit4Osgi = requiredVersionFromLibs("junit4Osgi")
"osgiVerification"("org.apache.servicemix.bundles:org.apache.servicemix.bundles.junit:${junit4Osgi}")
"osgiVerification"(dependencyFromLibs("junit4-bundle"))
}
}

Expand Down

0 comments on commit fc5b9dc

Please sign in to comment.