Skip to content

Commit

Permalink
centralise junit dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Feb 5, 2022
1 parent fa19407 commit 1a7d3eb
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 10 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ allprojects {
maxWarnings = 0
configFile = new File("${rootDir}/style/checkStyle.xml")
}

dependencies {
testImplementation "junit:junit"
}
}

task tar(type: Tar) {
Expand Down Expand Up @@ -449,7 +453,7 @@ subprojects {
dependency "org.springframework.boot:spring-boot-starter-web:2.1.6.RELEASE"
dependency "io.openmessaging:registry-server:0.0.1"

dependency "junit:junit:4.12"
dependency "junit:junit:4.13.2"
dependency "com.github.stefanbirkner:system-rules:1.16.1"
dependency "org.assertj:assertj-core:2.6.0"

Expand Down
1 change: 0 additions & 1 deletion eventmesh-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ dependencies {

testImplementation "io.netty:netty-all"

testImplementation "junit:junit"
testImplementation "org.assertj:assertj-core"

testImplementation "org.mockito:mockito-core"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@
dependencies {
implementation project(":eventmesh-common")
implementation project(":eventmesh-connector-plugin:eventmesh-connector-api")
testImplementation "junit:junit"
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies {
testImplementation project(":eventmesh-common")

testImplementation "io.cloudevents:cloudevents-core"
testImplementation "junit:junit"

compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ dependencies {
implementation "io.cloudevents:cloudevents-core"
implementation "com.google.guava:guava"
implementation "io.cloudevents:cloudevents-json-jackson"

testImplementation "junit:junit"
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ dependencies {

testImplementation project(":eventmesh-protocol-plugin:eventmesh-protocol-api")
testImplementation "io.cloudevents:cloudevents-core"
testImplementation "junit:junit"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ dependencies {
testImplementation project(":eventmesh-protocol-plugin:eventmesh-protocol-api")
testImplementation "io.cloudevents:cloudevents-core"
testImplementation "io.openmessaging:openmessaging-api"
testImplementation "junit:junit"
}
1 change: 0 additions & 1 deletion eventmesh-sdk-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ dependencies {

testImplementation project(":eventmesh-common")

testImplementation "junit:junit"
testImplementation "com.fasterxml.jackson.core:jackson-databind"
testImplementation "com.fasterxml.jackson.core:jackson-core"
testImplementation "com.fasterxml.jackson.core:jackson-annotations"
Expand Down
1 change: 0 additions & 1 deletion eventmesh-spi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ dependencies {
implementation project(":eventmesh-common")
implementation "org.apache.commons:commons-collections4"
testImplementation project(":eventmesh-common")
testImplementation "junit:junit"
}

0 comments on commit 1a7d3eb

Please sign in to comment.