-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
97 lines (78 loc) · 3.36 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
95
96
97
plugins {
id 'org.springframework.boot' version '2.6.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'jacoco'
}
group = 'com.thinkmore'
version = '1.0.0'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
implementation 'org.springframework.boot:spring-boot-starter-websocket:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-security:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-amqp:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-web:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-actuator:2.6.3'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor:2.6.3'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.2'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.2'
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
implementation 'org.mapstruct:mapstruct:1.4.2.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.2.Final'
implementation 'org.flywaydb:flyway-core:8.5.4'
runtimeOnly 'org.postgresql:postgresql:42.3.3'
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.2'
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'redis.clients:jedis:3.7.1'
implementation 'io.minio:minio:8.3.7'
implementation 'com.sendgrid:sendgrid-java:4.9.1'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'io.micrometer:micrometer-registry-prometheus:1.7.0'
implementation 'org.webjars:webjars-locator-core:0.48'
implementation 'org.webjars:sockjs-client:1.0.2'
implementation 'org.webjars:stomp-websocket:2.3.3'
implementation 'org.webjars:bootstrap:3.3.7'
implementation 'org.webjars:jquery:3.1.1-1'
testImplementation 'org.springframework.amqp:spring-rabbit-test:2.4.3'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.6.3'
testImplementation 'org.springframework.security:spring-security-test:5.6.2'
testImplementation 'org.mockito:mockito-core:4.3.1'
testImplementation 'org.mockito:mockito-junit-jupiter:4.3.1'
}
tasks.named('test') {
useJUnitPlatform()
}
jacoco {
toolVersion = "0.8.7"
reportsDirectory = layout.buildDirectory.dir('customJacocoReportDir')
}
test {
finalizedBy jacocoTestReport
// report is always generated after tests run
}
jacocoTestReport {
reports {
xml.required = false
csv.required = false
html.outputLocation = layout.buildDirectory.dir('jacocoHtml')
}
}