-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
100 lines (86 loc) · 2.56 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
98
99
100
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.2'
id 'io.spring.dependency-management' version '1.1.6'
id 'jacoco'
}
jacoco {
toolVersion = "0.8.9"
}
/** Jacoco start **/
test {
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
reports {
xml.required.set(true)
html.required.set(true)
// QueryDSL Q클래스 제외
def Qdomains = []
for (qPattern in "**/QA".."**/QZ") {
Qdomains.add(qPattern + "*")
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it,
exclude: [] + Qdomains)
}))
}
xml.destination file("${buildDir}/jacoco/index.xml")
html.destination file("${buildDir}/jacoco/index.html")
}
}
/** Jacoco end **/
group = 'com.softeer'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
jar {
enabled = false
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// spring batch
implementation 'org.springframework.boot:spring-boot-starter-batch'
// swagger (spring 3.x버전이라 springfox 적용불가, springdoc 중에서 호환되는 종속성 사용)
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
// javax validation
implementation 'javax.validation:validation-api:2.0.1.Final'
// spring starter package
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
// mysql
runtimeOnly 'com.mysql:mysql-connector-j'
// jwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// jwe encrypt
implementation 'com.nimbusds:nimbus-jose-jwt:9.37.3'
// lombok
annotationProcessor 'org.projectlombok:lombok'
// junit
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// test h2 database
testRuntimeOnly 'com.h2database:h2'
//redission
implementation 'org.redisson:redisson-spring-boot-starter:3.33.0'
implementation "org.redisson:redisson-spring-data-27:3.33.0"
//webflux
implementation 'org.springframework.boot:spring-boot-starter-webflux'
}
tasks.named('test') {
useJUnitPlatform()
}