Add junit5 to build infra

- Fixes #772
This commit is contained in:
Janne Valkealahti
2019-05-18 08:47:18 +01:00
parent e76c43870b
commit d0c692c2e8

View File

@@ -111,6 +111,7 @@ configure(allprojects) {
}
test {
useJUnitPlatform()
exclude '**/*IntegrationTests.*'
}
}
@@ -118,6 +119,12 @@ configure(allprojects) {
configure(subprojects) { subproject ->
apply from: "${rootProject.projectDir}/publish-maven.gradle"
dependencies {
testCompile("org.junit.jupiter:junit-jupiter-api")
testRuntime("org.junit.jupiter:junit-jupiter-engine")
testRuntime("org.junit.vintage:junit-vintage-engine")
}
jar {
manifest.attributes['Implementation-Title'] = subproject.name
manifest.attributes['Implementation-Version'] = subproject.version