-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
85 lines (69 loc) · 2.52 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
plugins {
id 'java'
id 'io.quarkus'
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-hibernate-orm-panache'
implementation 'io.quarkus:quarkus-hibernate-validator'
implementation 'io.quarkus:quarkus-undertow'
implementation 'io.quarkus:quarkus-resteasy-jackson'
implementation 'io.quarkus:quarkus-jdbc-postgresql'
implementation 'io.quarkus:quarkus-smallrye-openapi'
implementation 'io.quarkus:quarkus-config-yaml'
// implementation 'io.quarkus:quarkus-liquibase'
// implementation 'io.quarkus:quarkus-arc'
// implementation 'io.quarkus:quarkus-resteasy'
// implementation 'io.quarkus:quarkus-rest-client'
// implementation 'io.quarkus:quarkus-rest-client-reactive-jackson'
// implementation 'io.quarkus:quarkus-jaxrs-client-reactive'
// implementation 'io.quarkus:quarkus-rest-client-jackson'
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compileOnly "org.mapstruct:mapstruct:${mapstructVersion}"
annotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}"
testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
testImplementation "org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testImplementation "org.mapstruct:mapstruct:${mapstructVersion}"
testAnnotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}"
}
group 'br.com.fourmart'
version '1.0.0-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << '-parameters'
}
compileTestJava {
options.encoding = 'UTF-8'
}
test {
// Test Logging
testLogging {
exceptionFormat = "full"
showExceptions = true
showCauses = true
showStackTraces = true
events = ["standardError", "passed", "skipped", "failed"]
}
reports {
junitXml.enabled = true
html.enabled = true
}
}
tasks.withType(Test) {
testLogging.events = ["standardError", "passed", "skipped", "failed"]
testLogging.exceptionFormat("full")
testLogging.showExceptions = true
testLogging.showCauses = true
testLogging.showStackTraces = true
}