-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
101 lines (75 loc) · 2.79 KB
/
Copy pathbuild.gradle
File metadata and controls
101 lines (75 loc) · 2.79 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.6'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'sejong'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
maven { url 'https://artifactory-oss.prod.netflix.net/artifactory/maven-oss-candidates' }
}
ext {
set('springCloudVersion', "2022.0.0")
}
dependencies {
// eureka
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
// MySQL
runtimeOnly 'com.mysql:mysql-connector-j'
//lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
//spring
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation('org.springframework.boot:spring-boot-starter-web')
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-logging', version: '3.1.6'
//jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//aws
implementation group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.590'
//h2
runtimeOnly("com.h2database:h2")
//test
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.1'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.8.0'
//open feign
implementation "org.springframework.cloud:spring-cloud-starter-openfeign"
//JsonObject
implementation 'org.json:json:20211205'
// modelmapper 라이브러리
implementation group: 'org.modelmapper', name: 'modelmapper', version: '2.3.8'
// Security
implementation 'org.springframework.boot:spring-boot-starter-security'
// Redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
testImplementation 'it.ozimov:embedded-redis:0.7.2'
// JWT
implementation group: 'io.jsonwebtoken',name:'jjwt',version:'0.9.1'
// DatatypeConverter
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.2'
implementation 'javax.xml.bind:jaxb-api:2.3.0'
// kafka
implementation 'org.springframework.kafka:spring-kafka'
// prometheus
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version: '3.1.6'
runtimeOnly 'io.micrometer:micrometer-registry-prometheus'
// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('bootBuildImage') {
builder = 'paketobuildpacks/builder-jammy-base:latest'
}
tasks.named('test') {
useJUnitPlatform()
}