-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (55 loc) · 1.65 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
subprojects {
apply plugin: 'java'
apply plugin: 'java-library'
apply from: "$rootDir/gradle/integration-test.gradle"
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
compileJava {
options.encoding = 'UTF-8'
}
compileTestJava {
options.encoding = 'UTF-8'
}
compileIntegTestJava {
options.encoding = 'UTF-8'
}
javadoc {
options.encoding = 'UTF-8'
}
repositories {
mavenLocal()
jcenter()
}
group 'fr.chaffotm.timeless'
version '0.1-SNAPSHOT'
ext {
junitVersion = '5.5.2'
assertjVersion = '3.13.2'
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
testImplementation "org.assertj:assertj-core:$assertjVersion"
testImplementation 'org.mockito:mockito-junit-jupiter:3.1.0'
integTestImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
integTestRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
integTestImplementation "org.assertj:assertj-core:$assertjVersion"
}
test {
useJUnitPlatform()
beforeTest { descriptor ->
logger.lifecycle("Running " + descriptor)
}
}
test.outputs.upToDateWhen { false }
integrationTest {
useJUnitPlatform()
beforeTest { descriptor ->
logger.lifecycle("Running " + descriptor)
}
}
integrationTest.outputs.upToDateWhen { false }
}
wrapper {
gradleVersion = '5.6.2'
}