-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (41 loc) · 1.01 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
buildscript {
ext {
springVersion = "1.4.1.RELEASE"
adminVersion = "1.4.2"
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springVersion}")
}
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'spring-boot'
repositories {
jcenter()
mavenLocal()
mavenCentral()
}
dependencyManagement {
imports {
// Required to fix incorrect handling of Spring pom by Gradle
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Brixton.SR4'
}
}
dependencies {
compile "org.springframework.boot:spring-boot-starter-security:${springVersion}"
compile "de.codecentric:spring-boot-admin-server:${adminVersion}"
compile "de.codecentric:spring-boot-admin-server-ui:${adminVersion}"
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2.1'
}
task stage {
dependsOn bootRepackage
}
bootRun {
systemProperties = System.properties
jvmArgs = args;
}