forked from celinegilet/happy-town
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
58 lines (53 loc) · 1.87 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
plugins {
id 'java'
id 'application'
}
version = '1.0.0'
sourceCompatibility = 1.8
mainClassName = 'com.happytown.Application'
repositories {
mavenCentral()
dependencies {
// Spring
compile 'org.springframework.boot:spring-boot-starter-web:2.1.0.RELEASE'
// Database
compile 'org.springframework.boot:spring-boot-starter-data-jpa:2.1.0.RELEASE'
compile 'com.h2database:h2:1.4.197'
// Mail
compile 'javax.mail:mail:1.4.7'
// Tools
compile 'org.projectlombok:lombok:1.18.4'
compile 'io.springfox:springfox-swagger2:2.9.2'
compile 'io.springfox:springfox-swagger-ui:2.9.2'
compile 'ch.qos.logback:logback-classic:1.2.3'
// Annotation Processors
annotationProcessor 'org.projectlombok:lombok:1.18.4'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.4'
// Tests
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.1.0.RELEASE'
testImplementation 'org.assertj:assertj-core:3.11.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
testImplementation 'org.mockito:mockito-core:2.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:2.23.0'
testCompile 'dumbster:dumbster:1.6'
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
afterSuite { desc, result ->
if (!desc.parent) {
println "\nTest result: ${result.resultType}"
println "Test summary: ${result.testCount} tests, " +
"${result.successfulTestCount} succeeded, " +
"${result.failedTestCount} failed, " +
"${result.skippedTestCount} skipped"
}
}
}
wrapper {
gradleVersion = '4.10.2'
}