Skip to content

Commit

Permalink
Adding JUnit's Jupiter engine dependency
Browse files Browse the repository at this point in the history
Using aggregator artifact "junit-jupiter"
  • Loading branch information
AlxNu authored and jbachorik committed Feb 11, 2023
1 parent c7df9e8 commit 831246b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion btrace-instr/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies {

testImplementation libs.asm.util
testImplementation libs.slf4j.simple
testImplementation libs.jupiter.params
testImplementation libs.junit.jupiter
testImplementation project(':btrace-client')
}

Expand Down
3 changes: 1 addition & 2 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ repositories {

dependencies {
// Adding dependencies here will add the dependencies to each subproject.
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
testImplementation libs.junit.jupiter
}

String mavenArtifactId = name
Expand Down
5 changes: 3 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencyResolutionManagement {
version('jmh', '1.36')
version('jmhGradlePlugin', '0.6.5')
version('slf4j', '1.7.36')
version('jupiter', '5.9.1')
version('junit', '5.9.1')

// *** Gradle plugins ***
plugin ('spotless', 'com.diffplug.spotless').version('6.11.0')
Expand Down Expand Up @@ -65,7 +65,8 @@ dependencyResolutionManagement {
library ('jmh-annprocess', 'org.openjdk.jmh', 'jmh-generator-annprocess').versionRef('jmh')

// https://mvnrepository.com/artifact/org.junit.jupiter
library ('jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('jupiter')
library ('junit', 'org.junit', 'junit-bom').versionRef('junit')
library ('junit-jupiter', 'org.junit.jupiter', 'junit-jupiter').versionRef('junit')
}
}
}

0 comments on commit 831246b

Please sign in to comment.