-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
61 lines (51 loc) · 1.69 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
57
58
59
60
61
buildscript {
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/libs-milestone" }
maven { url "http://repo.spring.io/libs-release" }
maven { url 'http://repo.spring.io/plugins-release' }
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.0.M2")
classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7")
classpath("org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'propdeps'
apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'
jar {
baseName = 'samples-spring-boot-branches'
version = '1.0.0'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/libs-milestone" }
maven { url "http://repo.spring.io/libs-release" }
mavenLocal()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-actuator")
compile("com.squareup.okhttp:okhttp:2.4.0")
compile("commons-codec:commons-codec:1.10")
compile("commons-io:commons-io:2.4")
compile("commons-validator:commons-validator:1.4.1")
compile("org.apache.commons:commons-lang3:3.3.2")
provided("org.projectlombok:lombok:1.16.2")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
// html.enabled = true // enabled by default
}
}