-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
54 lines (45 loc) · 1.43 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
plugins {
id 'org.springframework.boot' version '2.1.3.RELEASE'
id 'java'
id "com.palantir.docker" version "0.21.0"
id 'com.adarshr.test-logger' version '1.6.0'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.example'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}
ext {
set('springCloudVersion', 'Greenwich.SR1')
}
docker {
name 'andifalk/hello-spring-kubernetes:latest'
files bootJar.archivePath
}
test {
useJUnitPlatform()
}
testlogger {
showStandardStreams false
showPassedStandardStreams false
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.cloud:spring-cloud-starter-kubernetes-config'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation('org.mockito:mockito-junit-jupiter')
testImplementation('org.junit.jupiter:junit-jupiter-api')
testImplementation('org.junit.jupiter:junit-jupiter-params')
testRuntime('org.junit.jupiter:junit-jupiter-engine')
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}