forked from NOVA-9th/nova-be
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
96 lines (76 loc) · 2.78 KB
/
Copy pathbuild.gradle
File metadata and controls
96 lines (76 loc) · 2.78 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.9'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.nova'
version = '0.0.1-SNAPSHOT'
description = 'NOVA backend server'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-batch'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.apache.commons:commons-text:1.11.0'
implementation 'org.springframework.boot:spring-boot-starter-security'
// 이미지 압축 라이브러리
implementation 'net.coobird:thumbnailator:0.4.20'
//크롤링
implementation 'org.jsoup:jsoup:1.17.2'
//스웨거
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0'
// 도커 헬스체크용
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// OpenAI Java SDK
implementation("com.openai:openai-java:4.16.1")
// JSON Schema Generator
implementation 'com.github.victools:jsonschema-generator:4.38.0'
implementation 'com.github.victools:jsonschema-module-jackson:4.38.0'
// 모니터링용
implementation 'org.springframework.boot:spring-boot-starter-actuator'
runtimeOnly 'io.micrometer:micrometer-registry-prometheus'
implementation 'com.github.loki4j:loki-logback-appender:1.5.2'
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.3'
// QueryDSL (OpenFeign)
// Source: https://mvnrepository.com/artifact/io.github.openfeign.querydsl/querydsl-jpa
implementation 'io.github.openfeign.querydsl:querydsl-jpa:7.1'
// Source: https://mvnrepository.com/artifact/io.github.openfeign.querydsl/querydsl-apt
annotationProcessor 'io.github.openfeign.querydsl:querydsl-apt:7.1:jpa'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'com.h2database:h2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
systemProperty 'spring.profiles.active', 'test'
}
def querydslDir = layout.buildDirectory.dir("generated/querydsl").get().asFile
sourceSets {
main.java.srcDirs += [querydslDir]
}
tasks.withType(JavaCompile).configureEach {
options.generatedSourceOutputDirectory.set(querydslDir)
}
clean.doLast {
file(querydslDir).deleteDir()
}