-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
88 lines (74 loc) · 2.81 KB
/
build.gradle
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
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.16'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
group = 'com.app'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
java {
sourceCompatibility = '11'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2021.0.5")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
// Springdoc OpenAPI 의존성 추가
implementation 'org.springdoc:springdoc-openapi-ui:1.6.14'
implementation 'software.amazon.awssdk:s3:2.15.40'
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign' // 외부 api 호출 용이
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.4' //yml 파일 암호화
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'io.jsonwebtoken:jjwt:0.9.1' //jwt 라이브러리 의존성 추가
implementation 'org.springframework:spring-test:5.3.30'
implementation 'org.apache.pdfbox:pdfbox:2.0.30'
implementation 'mysql:mysql-connector-java:8.0.32'
runtimeOnly 'com.mysql:mysql-connector-j:8.0.32'
runtimeOnly 'com.h2database:h2'
implementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.mapstruct:mapstruct:1.5.3.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.3.Final'
// Spring Boot Actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// GPT 스크립트 테스트 편의성을 위해 추가
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation 'com.theokanning.openai-gpt3-java:service:0.18.2'
testImplementation 'com.knuddels:jtokkit:1.0.0'
testImplementation 'com.fasterxml.jackson.module:jackson-module-jsonSchema-jakarta:2.15.0'
// Rest Assured
testImplementation 'io.rest-assured:rest-assured:4.5.1'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}
processResources.dependsOn('copySecret')
processResources.dependsOn('copySecretToBuild')
tasks.register('copySecret', Copy) {
from './BE_config' // 서브 모듈 디렉토리 경로
include "*.yml" // 설정 파일 복사
into 'src/main/resources' // 붙여넣을 위치
}
tasks.register('copySecretToBuild', Copy) {
from './BE_config' // 서브 모듈 디렉토리 경로
include "*.yml" // 설정 파일 복사
into '$buildDir/resources/main' // 붙여넣을 위치
}