-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
147 lines (114 loc) · 3.98 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
buildscript {
ext {
springBootVersion = '2.4.1'
dependencyManagementVersion = '1.0.10.RELEASE'
queryDslVersion = "5.0.0"
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "io.spring.gradle:dependency-management-plugin:${dependencyManagementVersion}"
}
}
plugins{
id 'com.ewerk.gradle.plugins.querydsl' version '1.0.10'
}
repositories {
mavenCentral()
}
allprojects {
group = 'com.gbc'
version = '0.0.1-SNAPSHOT'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'java'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
configurations {
querydslApt
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
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 'junit:junit:4.13.1'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
//status() not being improted properly
// testImplementation 'org.springframework:spring-test:5.3.13'
//localDateTime not supported by Jackson objectmapper so add this
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
compileOnly 'org.projectlombok:lombok:1.18.16'
//jackson for restcontroller test
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.0'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.0'
// aws s3
// implementation 'com.amazonaws:aws-java-sdk-s3:1.12.328'
//aws
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
//h2Db
implementation 'com.h2database:h2'
//google oAuth2
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client:2.6.2'
//swagger v3
implementation 'io.springfox:springfox-boot-starter:3.0.0'
implementation 'io.springfox:springfox-swagger-ui:3.0.0'
runtimeOnly 'com.h2database:h2'
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.5'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.5'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.5'
//postgrel
implementation group: 'org.postgresql', name: 'postgresql' // 추가
//redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation('it.ozimov:embedded-redis:0.7.2') // mem redis
//인수테스트
testImplementation 'io.rest-assured:rest-assured:3.3.0'
testImplementation 'com.google.guava:guava:11.0.2'
implementation 'net.rakugakibox.spring.boot:logback-access-spring-boot-starter:2.7.1'
runtimeOnly 'com.h2database:h2'
// querydsl 패키지
// compile('com.querydsl:querydsl-jpa')
implementation "com.querydsl:querydsl-jpa:${queryDslVersion}"
implementation "com.querydsl:querydsl-apt:${queryDslVersion}"
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0'
// querydsl JPAAnnotationProcessor을 사용
annotationProcessor("jakarta.persistence:jakarta.persistence-api")
annotationProcessor("jakarta.annotation:jakarta.annotation-api")
}
test {
useJUnitPlatform()
}
}
dependencies {
implementation project(':module-common')
implementation project(':module-member')
implementation project(':module-project')
implementation project(':module-skill')
}
project(':module-member') {
dependencies {
implementation project(':module-common')
}
}
project(':module-project') {
dependencies {
implementation project(':module-common')
}
}
project(':module-skill') {
dependencies {
implementation project(':module-common')
}
}
bootJar { enabled = true }
jar { enabled = false}
///