-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
35 lines (29 loc) · 952 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
plugins {
id 'org.springframework.boot' version '2.0.0.RELEASE'
id 'com.garyclayburg.dockerprepare' version '1.3.2'
//id 'com.palantir.docker' version '0.19.2'
id 'java'
id 'eclipse'
id 'io.spring.dependency-management' version '1.0.4.RELEASE'
}
group = 'com.unclebobsdevblog'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 8
dockerprepare {
// dockerfileSet '90111-jre-sid-buildlabels'
dockerBuildDirectory "${project.buildDir}/dockerlayers"
commonService = ['org.springframework.boot:spring-boot-starter-web']
}
//docker {
// name "${project.group}/${jar.baseName}"
// files "${dockerprepare.dockerBuildDirectory}"
// dockerfile file("${dockerprepare.dockerBuildDirectory}/Dockerfile")
// dependsOn build
//}
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
testCompile('org.springframework.boot:spring-boot-starter-test')
}