-
Notifications
You must be signed in to change notification settings - Fork 88
/
build.gradle
94 lines (81 loc) · 2.84 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
89
90
91
92
93
94
plugins {
id 'org.springframework.boot' version '2.7.2'
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
id 'java'
id 'groovy'
id 'war'
id 'jacoco'
}
group 'kz'
version project.hasProperty('version') ? version : '3.0.0-SNAPSHOT'
sourceCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
flatDir {
dirs 'lib'
}
mavenLocal()
mavenCentral()
}
dependencies {
// Spring
implementation 'org.codehaus.groovy:groovy-all:3.0.13'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-cache'
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
implementation 'org.springframework:spring-aspects:5.3.23'
implementation 'org.springframework.retry:spring-retry:1.3.3'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
// Spock/Mockito
testImplementation 'org.spockframework:spock-core:2.2-groovy-3.0'
testImplementation 'org.spockframework:spock-spring:2.2-groovy-3.0'
testImplementation 'org.mockito:mockito-core:4.8.0'
// Lombok
testCompileOnly 'org.projectlombok:lombok:1.18.24'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.24'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
// KalkanCrypt
implementation name: 'knca_provider_jce_kalkan-0.7.5'
implementation name: 'kalkancrypt-xmldsig-0.5'
implementation 'org.apache.santuario:xmlsec:3.0.3'
// SOAP/WSSE
implementation 'org.apache.ws.security:wss4j:1.6.19'
implementation 'org.apache.wss4j:wss4j-ws-security-dom:2.4.1'
implementation 'jakarta.xml.ws:jakarta.xml.ws-api:3.0.1'
implementation 'com.sun.xml.ws:jaxws-rt:3.0.2'
}
test {
useJUnitPlatform()
}
springBoot {
buildInfo()
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
"kz/ncanode/NCANode.class",
"kz/ncanode/constants/*",
"kz/ncanode/exception/*",
"kz/ncanode/configuration/**",
"kz/ncanode/dto/**",
"kz/ncanode/util/*",
"kz/ncanode/controller/advice/ExceptionHandlerControllerAdvice.class",
])
}))
}
}
check.dependsOn jacocoTestReport