-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.gradle
39 lines (33 loc) · 1.14 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
plugins {
id 'java'
}
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
}
dependencies {
// for writing tests "testCompile" would suffice, but extensions are
// defined in the project's "main" folder, so we need "compile"
compile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
testCompile "org.junit.jupiter:junit-jupiter-params:${junitJupiterVersion}"
testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
testCompile "junit:junit:4.12"
testCompile "org.junit.jupiter:junit-jupiter-migrationsupport:${junitJupiterVersion}"
testRuntime "org.junit.vintage:junit-vintage-engine:${junitJupiterVersion}"
testCompile('org.assertj:assertj-core:3.10.0')
testCompile('org.mockito:mockito-core:2.19.1')
testCompile('org.junit-pioneer:junit-pioneer:0.1.2')
testCompile('org.mockito:mockito-junit-jupiter:2.19.1')
}
test {
useJUnitPlatform {
excludeTags 'database'
}
// systemProperties = [
// 'junit.jupiter.conditions.deactivate': '*'
// ]
testLogging {
events "passed", "skipped", "failed"
}
}