forked from team-whale/Challenge-App-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
97 lines (88 loc) · 3.68 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.7.5'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'java'
}
configurations.all {
exclude module: 'slf4j-simple'
}
group = 'com.whale'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
def generated = "src/main/generated"
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'com.navercorp.lucy:lucy-xss-servlet:2.0.1'
implementation 'org.springdoc:springdoc-openapi-ui:1.6.11'
implementation 'org.springdoc:springdoc-openapi-security:1.6.12'
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-hibernate5'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8'
implementation 'org.mapstruct:mapstruct:1.5.3.Final'
implementation 'org.mapstruct:mapstruct-processor:1.5.3.Final'
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.8.1'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.4'
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
implementation "com.querydsl:querydsl-core:5.0.0"
implementation "com.querydsl:querydsl-jpa:5.0.0"
implementation "com.querydsl:querydsl-apt:5.0.0"
implementation 'net.coobird:thumbnailator:0.4.17'
implementation 'commons-fileupload:commons-fileupload:1.4'
implementation 'org.apache.commons:commons-text:1.10.0'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
annotationProcessor(
'org.mapstruct:mapstruct-processor:1.5.3.Final',
"org.projectlombok:lombok-mapstruct-binding:0.2.0",
"org.projectlombok:lombok",
"com.querydsl:querydsl-apt:5.0.0:jpa",
"org.springframework.boot:spring-boot-configuration-processor",
"org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final",
"javax.annotation:javax.annotation-api",
"jakarta.persistence:jakarta.persistence-api",
"jakarta.annotation:jakarta.annotation-api"
)
testImplementation 'com.navercorp.lucy:lucy-xss-servlet:2.0.1'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa'
testImplementation 'org.springframework.boot:spring-boot-starter-data-redis'
testImplementation 'org.mapstruct:mapstruct:1.5.3.Final'
testImplementation 'org.mapstruct:mapstruct-processor:1.5.3.Final'
testImplementation "com.querydsl:querydsl-core:5.0.0"
testImplementation "com.querydsl:querydsl-jpa:5.0.0"
testImplementation "com.querydsl:querydsl-apt:5.0.0"
}
sourceSets {
main.java.srcDirs += [generated]
}
tasks.withType(JavaCompile) {
options.annotationProcessorGeneratedSourcesDirectory = file(generated)
}
tasks.named('test') {
useJUnitPlatform()
}