-
Notifications
You must be signed in to change notification settings - Fork 433
/
build.gradle
38 lines (31 loc) · 933 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
plugins{
id 'org.springframework.boot' version '3.2.10'
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
}
ext {
set('springCloudVersion', "2023.0.3")
name = 'Eureka Server'
description = 'Eureka Server demo project'
version='0.0.1-SNAPSHOT'
sourceEncoding='UTF-8'
}
repositories {
jcenter()
maven { url 'https://repo.spring.io/release/' }
maven { url "https://repo.spring.io/libs-snapshot-local" }
maven { url "https://repo.spring.io/libs-milestone-local" }
maven { url "https://repo.spring.io/libs-release-local" }
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-server'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test{
useJUnitPlatform()
}