-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
45 lines (37 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
42
43
44
45
plugins {
id 'org.springframework.boot' version '2.1.6.RELEASE'
id 'java'
id 'com.google.cloud.tools.jib' version '1.4.0'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.afavre'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '12'
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "Greenwich.SR2")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.cloud:spring-cloud-starter-zipkin'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
jib {
from {
image = 'openjdk:12-alpine'
}
to {
image = 'barret73/weather-forecast'
}
container {
useCurrentTimestamp = true
}
}