-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (44 loc) · 1.18 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
55
56
buildscript {
ext {
projectGroupName = 'com.esgi.popoll'
projectVersion = '0.1-SNAPSHOT'
springBootVersion = '1.5.2.RELEASE'
springCloudVersion = 'Camden.SR6'
junitVersion = '4.12'
assertjVersion = '3.6.2'
restAssuredVersion = '2.9.0'
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
}
}
allprojects {
group projectGroupName
version projectVersion
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
repositories {
maven {
url 'https://repo.spring.io/libs-snapshot'
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compileOnly 'org.projectlombok:lombok'
testCompile "junit:junit:${junitVersion}"
testCompile "com.jayway.restassured:rest-assured:${restAssuredVersion}"
testCompile "org.assertj:assertj-core:${assertjVersion}"
}
}