Skip to content

Commit

Permalink
Use Maven managed versions for junit and jackson in Gradle plugin
Browse files Browse the repository at this point in the history
Fixes smallrye#1339

Signed-off-by: Michael Edgar <michael@xlate.io>
  • Loading branch information
MikeEdgar committed Jan 7, 2023
1 parent 7f878ec commit 900ab04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tools/gradle-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ignore Gradle project-specific cache directory
.gradle
# Ignore Gradle build output directory
# Ignore Gradle build output directories
bin
build
# gradle.properties generated by Maven build from src/maven-build/gradle.properties
/gradle.properties
4 changes: 2 additions & 2 deletions tools/gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ dependencies {
implementation("io.smallrye:smallrye-open-api-spring:$version")
implementation("io.smallrye:smallrye-open-api-vertx:$version")

testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
testImplementation("org.junit.jupiter:junit-jupiter:${version.junit5}")
testImplementation(gradleTestKit())
testImplementation("org.assertj:assertj-core:3.24.1")
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.14.1")
testImplementation("com.fasterxml.jackson.core:jackson-databind:${version.jackson}")
}

gradlePlugin {
Expand Down
2 changes: 2 additions & 0 deletions tools/gradle-plugin/src/maven-build/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
# DO ONLY MODIFY THE FILE IN src/maven-build !
#
version=${project.version}
version.jackson=${jackson-bom.version}
version.junit5=${version.junit5}

0 comments on commit 900ab04

Please sign in to comment.