forked from newspaceProject/newspace-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
82 lines (63 loc) · 2.4 KB
/
build.gradle
File metadata and controls
82 lines (63 loc) · 2.4 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.lgcns'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
// Spring AI
maven { url 'https://repo.spring.io/milestone' }
}
dependencyManagement {
imports {
mavenBom "org.springframework.ai:spring-ai-bom:1.0.0-M4"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2023.0.3"
}
}
dependencies {
// validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// spring security, web
implementation 'org.springframework.boot:spring-boot-starter-security'
testImplementation 'org.springframework.security:spring-security-test'
implementation 'org.springframework.boot:spring-boot-starter-web'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// mariaDB
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
// boot
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// JWT 의존성
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.12.6'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.12.6'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.12.6'
// Spring AI
implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter'
// 유레카 클라이언트를 위한 Spring Cloud 스타터
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
// Spring Cloud 의존성 관리 (버전 관리용)
implementation 'org.springframework.cloud:spring-cloud-dependencies:2023.0.3' // 최신 버전 확인 필요
// 스웨거 문서작성을 위한 어노테이션
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
// Spring Boot 액추에이터 스타터 (옵션, 모니터링 용도)
implementation 'org.springframework.boot:spring-boot-starter-actuator'
}
tasks.named('test') {
useJUnitPlatform()
}