exclude indirect JUnit 4 compile-time dependency
This commit is contained in:
parent
a7f669a1f9
commit
3de8b00672
@ -21,6 +21,12 @@ configurations {
|
|||||||
compileOnly {
|
compileOnly {
|
||||||
extendsFrom annotationProcessor
|
extendsFrom annotationProcessor
|
||||||
}
|
}
|
||||||
|
testCompile {
|
||||||
|
// Only JUNit 5 (Jupiter) should be used at compile time.
|
||||||
|
// For runtime it's still needed by testcontainers, though.
|
||||||
|
exclude group: 'junit', module: 'junit'
|
||||||
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
Loading…
Reference in New Issue
Block a user