-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
41 lines (33 loc) · 895 Bytes
/
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
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.0'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.practice'
version = '1.1.1'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2023.0.0")
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-gateway:4.0.8'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:4.1.0'
implementation 'org.springframework.boot:spring-boot-starter-actuator:3.2.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test:3.2.0'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('bootBuildImage') {
builder = 'paketobuildpacks/builder-jammy-base:latest'
}
tasks.named('test') {
useJUnitPlatform()
}