-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
88 lines (73 loc) · 2.81 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
86
87
88
plugins {
id 'java'
id 'io.quarkus'
id 'io.freefair.lombok' version '8.12'
id 'jacoco'
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation enforcedPlatform("${quarkusPlatformGroupId}:quarkus-amazon-services-bom:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-arc'
implementation 'io.quarkus:quarkus-rest-client-jackson'
implementation 'io.quarkus:quarkus-rest-client'
implementation 'io.quarkus:quarkus-config-yaml'
implementation 'io.quarkus:quarkus-amazon-lambda-rest'
implementation 'io.quarkus:quarkus-resteasy'
implementation 'io.quarkus:quarkus-resteasy-jackson'
implementation 'io.quarkiverse.amazonservices:quarkus-amazon-dynamodb'
implementation 'io.quarkiverse.amazonservices:quarkus-amazon-ssm'
implementation 'software.amazon.awssdk:url-connection-client'
implementation 'one.util:streamex:0.8.3'
implementation 'com.github.spotbugs:spotbugs-annotations:4.9.0'
testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.quarkus:quarkus-junit5-mockito'
testImplementation 'io.quarkus:quarkus-jacoco'
testImplementation 'io.rest-assured:rest-assured'
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'org.mockito:mockito-junit-jupiter:5.14.2'
testImplementation 'org.skyscreamer:jsonassert:1.5.3'
testImplementation 'com.amazonaws:aws-java-sdk-dynamodb:1.12.425'
testImplementation platform('org.testcontainers:testcontainers-bom:1.20.4')
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:mockserver'
testImplementation 'org.mock-server:mockserver-client-java:5.13.2'
}
group 'com.yuriytkach'
version '3.3.1'
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType(Test).configureEach {
finalizedBy jacocoTestReport
systemProperty "java.util.logging.manager", "org.jboss.logmanager.LogManager"
testLogging {
events "passed", "skipped", "failed"
}
jacoco {
excludeClassLoaders = ["*QuarkusClassLoader"]
destinationFile = layout.buildDirectory.file("jacoco-quarkus.exec").get().asFile
}
}
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << '-parameters'
}
compileTestJava {
options.encoding = 'UTF-8'
}
jacocoTestReport {
dependsOn test
executionData { tasks.withType(Test).findAll { it.jacoco.destinationFile.exists() }*.jacoco.destinationFile }
reports {
xml.required = true
}
}
[compileJava].forEach {
it -> it.dependsOn(compileQuarkusGeneratedSourcesJava)
}