-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
112 lines (82 loc) · 2.49 KB
/
build.gradle
File metadata and controls
112 lines (82 loc) · 2.49 KB
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
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.0'
id 'io.spring.dependency-management' version '1.1.4'
}
ext {
springCloudVersion = "2023.0.3"
}
group = 'com.poppin'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// Default
implementation 'org.springframework.boot:spring-boot-starter-web'
// JPA
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// MYSQL
runtimeOnly 'com.mysql:mysql-connector-j'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// TEST
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// security
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.0'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// Validation
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'org.springframework.boot:spring-boot-starter-validation'
// S3
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
implementation 'software.amazon.awssdk:s3:2.20.40'
implementation 'software.amazon.awssdk:auth:2.20.40'
// Mail
implementation 'org.springframework.boot:spring-boot-starter-mail'
// Firebase sdk
implementation 'com.google.firebase:firebase-admin:7.1.0'
// APNs
implementation 'com.github.fernandospr:javapns-jdk16:2.4.0' // IOS >= 10
// OpenFeign
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
// AWS SM
// Spring Cloud AWS 최신 버전 사용
implementation("io.awspring.cloud:spring-cloud-starter-aws-secrets-manager-config:2.4.4")
// ETC
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
bootJar {
archiveFileName.set "poppin-server-0.0.1-SNAPSHOT.jar"
}
jar {
enabled = false
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"
}
}