-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (51 loc) · 1.57 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.6.7'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
}
group = 'com.tenpo.challenge'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2021.0.2")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
//Feign
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
implementation 'io.github.openfeign:feign-core:12.3'
implementation 'io.github.openfeign:feign-jackson:12.3'
implementation 'io.github.openfeign:feign-httpclient'
//Lombok
annotationProcessor 'org.projectlombok:lombok'
implementation 'org.projectlombok:lombok'
//WireMock
implementation 'com.github.tomakehurst:wiremock-jre8:2.31.0'
//PostgreSQL
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'org.postgresql:postgresql'
//Cache
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'com.github.ben-manes.caffeine:caffeine:3.0.4'
//Retry
implementation 'org.springframework.retry:spring-retry:1.3.1'
//AspectJ
implementation 'org.aspectj:aspectjweaver:1.9.7'
//Logstash
implementation 'net.logstash.logback:logstash-logback-encoder:6.4'
testImplementation('org.mockito:mockito-core:3.11.2')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}