-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
123 lines (100 loc) · 3.12 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
buildscript {
ext {
queryDslVersion = "5.0.0"
}
}
plugins {
id 'org.springframework.boot' version '2.7.3'
id 'io.spring.dependency-management' version '1.0.13.RELEASE'
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.7.20-RC'
id "com.ewerk.gradle.plugins.querydsl" version "1.0.10"
}
group = 'plub'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
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'
testImplementation 'org.projectlombok:lombok:1.18.22'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
// postgresql
implementation group: 'org.postgresql', name: 'postgresql', version: '42.2.26'
// jjwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.2'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.2'
// apple
implementation group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.56'
// swagger 추가
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
// aws s3
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
testImplementation 'io.findify:s3mock_2.13:0.2.6'
// redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// queryDSL
implementation "com.querydsl:querydsl-jpa:${queryDslVersion}"
implementation "com.querydsl:querydsl-apt:${queryDslVersion}"
// fcm
implementation("com.google.firebase:firebase-admin:6.8.1")
implementation("com.squareup.okhttp3:okhttp:4.9.1")
// json simple
implementation("com.googlecode.json-simple:json-simple:1.1.1")
// aop
implementation("org.springframework.boot:spring-boot-starter-aop")
// geo ip
implementation("com.maxmind.geoip2:geoip2:2.15.0")
// cloudWatch log
implementation("ca.pjer:logback-awslogs-appender:1.6.0")
// jasypt
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.4'
// ncp
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
}
tasks.named('test') {
useJUnitPlatform()
}
// 빌드시 -plain.jar 생기는 설정 끄기 (for Github Actions)
jar {
enabled = false
}
// jar 빌드 파일 이름 변경
bootJar {
archiveFileName = "plub-server.jar"
}
/*
* queryDSL
*/
def querydslDir = "$buildDir/generated/querydsl"
querydsl {
jpa = true
querydslSourcesDir = querydslDir
}
sourceSets {
main.java.srcDir querydslDir
}
compileQuerydsl{
options.annotationProcessorPath = configurations.querydsl
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
querydsl.extendsFrom compileClasspath
}