forked from PROJECT-X-REFRESH/Back-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
107 lines (86 loc) · 3.37 KB
/
build.gradle
File metadata and controls
107 lines (86 loc) · 3.37 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.1'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.reborn'
version = '0.0.1-SNAPSHOT'
// Java 설정
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
// 컴파일러 설정
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
// 레포지토리 설정
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/release' }
maven { url 'https://jitpack.io' }
}
// 의존성 설정
dependencies {
// Spring Boot Starters
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
// Spring Cloud AWS
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
// JSON Processing
implementation 'org.json:json:20231013'
// Redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// OpenAPI/Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0'
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// Database and Hibernate
runtimeOnly 'com.mysql:mysql-connector-j'
implementation 'org.hibernate.orm:hibernate-core:6.2.7.Final'
// To use Google Map API
implementation 'com.google.api-client:google-api-client:1.33.2'
implementation 'com.google.maps:google-maps-services:0.18.1'
// Firebase FCM and HTTP Client
implementation 'com.google.firebase:firebase-admin:9.2.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
implementation 'org.apache.bcel:bcel:6.10.0'
// Lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// Development Tools
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// Testing
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'io.projectreactor:reactor-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation 'org.springframework:spring-messaging'
testImplementation 'org.springframework:spring-websocket'
// Env
implementation 'io.github.cdimascio:dotenv-java:3.0.0'
//chat
implementation 'org.webjars:stomp-websocket:2.3.4'
implementation 'org.webjars:sockjs-client:1.5.1'
implementation 'org.springframework.boot:spring-boot-starter-websocket:3.4.5'
implementation 'org.springframework.security:spring-security-messaging'
}
// 테스트 플랫폼
tasks.named('test') {
useJUnitPlatform() // JUnit 5를 사용하여 테스트 실행
}
// 일반 jar 생성 비활성화 (bootJar만 생성)
tasks.named('jar') {
enabled = false
}