-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (62 loc) · 1.96 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
plugins {
id 'java'
id 'io.quarkus'
id "org.sonarqube" version "4.4.1.3373"
id 'jacoco'
}
repositories {
mavenCentral()
mavenLocal()
}
sonar {
properties {
property "sonar.projectKey", "projet-20"
property "sonar.token", "sqp_82ab0499906d1eb34e19c4c88a4cad4b8741713e"
property "sonar.projectName", "projet-20"
property "sonar.qualitygate.wait", true
property "sonar.host.url", "https://sonar.home.lange.xyz"
tasks.jacocoTestReport.configure {
property("sonar.coverage.jacoco.xmlReportPaths", ["build/reports/jacoco/test/jacocoTestReport.xml"])
}
}
}
dependencies {
implementation 'io.quarkus:quarkus-smallrye-reactive-messaging-mqtt'
implementation 'io.quarkus:quarkus-smallrye-openapi'
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-arc'
implementation 'io.quarkus:quarkus-resteasy-reactive-jackson'
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
testImplementation "io.quarkus:quarkus-jacoco"
}
group 'org.acme'
version '1.0.0-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
test {
systemProperty "java.util.logging.manager", "org.jboss.logmanager.LogManager"
finalizedBy jacocoTestReport
jacoco {
excludeClassLoaders = ["*QuarkusClassLoader"]
destinationFile = layout.buildDirectory.file("jacoco-quarkus.exec").get().asFile
}
jacocoTestReport.enabled = true
}
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << '-parameters'
}
compileTestJava {
options.encoding = 'UTF-8'
}
jacocoTestReport {
reports {
xml.required = true
csv.required = true
html.required = true
}
}