-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (28 loc) · 749 Bytes
/
build.gradle
File metadata and controls
34 lines (28 loc) · 749 Bytes
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
plugins {
id 'com.google.cloud.tools.jib' version '1.0.0'
id 'org.springframework.boot' version '2.1.2.RELEASE'
id 'java'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.github.pozo'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
jib {
to {
image = 'com.github.pozo/spring-boot-jib'
}
container {
useCurrentTimestamp = true
ports = ['55000', '5005']
jvmFlags = [
'-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005'
]
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}