-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
73 lines (62 loc) · 1.98 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
62
63
64
65
66
67
68
69
70
71
72
73
ext {
springBootVersion = '1.3.6.RELEASE'
}
buildscript {
ext {
springBootVersion = '1.3.6.RELEASE'
}
repositories {
mavenLocal()
maven { url "https://repo.spring.io/libs-release" }
maven { url 'https://repo.spring.io/plugins-release' }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://repo.spring.io/libs-milestone" }
jcenter()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE"
classpath "org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath "gradle.plugin.com.gorylenko.gradle-git-properties:gradle-git-properties:1.4.16"
}
}
subprojects { proj ->
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'spring-boot'
apply plugin: 'jacoco'
apply plugin: 'checkstyle'
apply plugin: 'propdeps'
apply plugin: 'propdeps-maven'
apply plugin: 'propdeps-idea'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
configurations {
all*.exclude group: 'commons-logging'
all*.exclude group: 'log4j'
}
repositories {
mavenLocal()
maven { url 'https://repo.spring.io/libs-snapshot' }
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/milestone" }
jcenter()
}
dependencyManagement {
imports {
mavenBom 'io.spring.platform:platform-bom:2.0.6.RELEASE'
}
}
dependencies {
compile "org.slf4j:slf4j-api"
compile "com.google.guava:guava"
testCompile "org.springframework.boot:spring-boot-starter-test"
}
bootRepackage.enabled = false
checkstyle {
configFile = rootProject.file('checkstyle.xml')
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.14'
}