forked from Team-Clody/Clody_server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
93 lines (70 loc) · 2.42 KB
/
build.gradle.kts
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
import org.springframework.boot.gradle.tasks.bundling.BootJar
buildscript {
extra["restdocsApiSpecVersion"] = "0.17.1"
}
val springCloudVersion = "2023.0.2"
plugins {
java
id("org.springframework.boot") version "3.3.1"
id("io.spring.dependency-management") version "1.1.5"
id("org.hidetake.swagger.generator") version "2.18.2"
}
group = "com.donkeys_today"
version = "0.0.1-SNAPSHOT"
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.cloud:spring-cloud-starter-openfeign")
compileOnly("org.projectlombok:lombok")
runtimeOnly("org.postgresql:postgresql")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
//SECURITY
implementation("org.springframework.boot:spring-boot-starter-security")
//JWT
implementation("io.jsonwebtoken:jjwt-api:0.11.5")
implementation("io.jsonwebtoken:jjwt-impl:0.11.5")
implementation("io.jsonwebtoken:jjwt-jackson:0.11.5")
// Redis
implementation("org.springframework.boot:spring-boot-starter-data-redis:3.2.1")
// Client Secret 생성 라이브러리
implementation("com.nimbusds:nimbus-jose-jwt:3.10")
// API
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0")
testImplementation("io.rest-assured:spring-mock-mvc:5.4.0")
testImplementation("io.rest-assured:json-path:5.4.0")
testImplementation("io.rest-assured:xml-path:5.4.0")
// Monitoring
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("io.micrometer:micrometer-registry-prometheus")
// Notification
implementation("com.google.firebase:firebase-admin:9.3.0")
// Profanity Filter
implementation("io.github.vaneproject:badwordfiltering:1.0.0")
}
tasks.test {
useJUnitPlatform()
}
// Jar 로 빌드
tasks.withType<BootJar> {
}
// Feign
dependencyManagement {
imports {
mavenBom("org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion")
}
}