-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
93 lines (78 loc) · 2.79 KB
/
build.gradle
File metadata and controls
93 lines (78 loc) · 2.79 KB
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
86
87
88
89
90
91
92
93
plugins {
id("java")
id("io.quarkus")
id("jacoco")
}
repositories {
mavenCentral()
gradlePluginPortal()
mavenLocal()
}
dependencies {
implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}"))
implementation("io.quarkus:quarkus-arc")
implementation("io.quarkus:quarkus-cache")
implementation("org.javamoney:moneta:1.4.5")
implementation("io.quarkus:quarkus-config-yaml")
implementation("io.quarkus:quarkus-rest-client")
implementation("io.quarkus:quarkus-rest-jackson")
implementation("io.quarkus:quarkus-smallrye-health")
implementation("io.quarkus:quarkus-smallrye-openapi")
implementation("io.quarkus:quarkus-rest-client-jackson")
implementation("io.quarkus:quarkus-hibernate-validator")
implementation("io.quarkus:quarkus-micrometer")
implementation("io.quarkus:quarkus-micrometer-registry-prometheus")
implementation("org.mapstruct:mapstruct:1.6.3")
compileOnly("org.projectlombok:lombok:1.18.38")
annotationProcessor("org.projectlombok:lombok:1.18.38")
annotationProcessor("org.mapstruct:mapstruct-processor:1.6.3")
// Test dependencies
testImplementation("org.junit.jupiter:junit-jupiter:5.13.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.13.1")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.13.1")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.13.1")
testImplementation("io.quarkus:quarkus-junit5")
testImplementation("io.quarkus:quarkus-test-common")
testImplementation("io.quarkus:quarkus-junit5-mockito")
testImplementation("io.rest-assured:rest-assured:5.5.5")
testImplementation("org.mockito:mockito-core:5.15.2")
testImplementation("org.mockito:mockito-junit-jupiter:5.15.2")
testImplementation("org.assertj:assertj-core:3.27.2")
}
group = "ai.assis"
version = "1.0.0-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
showStandardStreams = true
}
systemProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager")
}
tasks.jacocoTestReport {
reports {
xml.required.set(true)
html.required.set(true)
}
}
tasks.compileJava {
options.encoding = "UTF-8"
options.compilerArgs.add("-parameters")
options.annotationProcessorPath = configurations.annotationProcessor
}
tasks.compileTestJava {
options.encoding = "UTF-8"
}
quarkus {
setFinalName("whatsapp-calculator-service-${project.version}")
}
quarkusBuild {
nativeArgs {
containerBuild = false
buildImage = "quay.io/quarkus/ubi-quarkus-mandrel-builder-image:24.0-java21"
}
}