-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
153 lines (125 loc) · 5.72 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
apply plugin: "java"
apply plugin: "org.springframework.boot"
apply plugin: "io.spring.dependency-management"
apply plugin: "groovy"
apply plugin: "checkstyle"
apply plugin: "jacoco"
//apply plugin: "com.github.spotbugs"
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/libs-milestone" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath group: "org.springframework.boot", name: 'spring-boot-gradle-plugin', version: "2.0.2.RELEASE"
classpath group: "org.flywaydb", name: "flyway-gradle-plugin", version: "5.1.1"
classpath group: "gradle.plugin.com.github.spotbugs", name: "spotbugs-gradle-plugin", version: "1.6.2"
classpath group: "gradle.plugin.com.gorylenko.gradle-git-properties", name: "gradle-git-properties", version: "1.4.21"
}
}
sourceCompatibility = 10
targetCompatibility = 10
checkstyle {
toolVersion "8.10.1"
configFile = rootProject.file("checkstyle.xml")
sourceSets = [project.sourceSets.main]
}
/*spotbugs {
toolVersion = '3.1.3'
sourceSets = [sourceSets.main]
}*/
tasks.withType(com.github.spotbugs.SpotBugsTask) {
reports {
xml.enabled false
html.enabled true
}
}
jacoco {
toolVersion = "0.8.1"
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.enabled = true
}
afterEvaluate {
classDirectories = files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
"**/resource/**",
"**/domain/**",
"**/config/**",
"**/exception/**"
])
})
}
}
test {
jacoco {
excludes = ["**/resource/**"]
}
reports {
junitXml.enabled = false
html.enabled = true
}
}
test.finalizedBy(project.tasks.jacocoTestReport)
repositories {
mavenLocal()
maven { url "http://download.osgeo.org/webdav/geotools" }
mavenCentral()
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/libs-milestone" }
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:Finchley.RELEASE"
mavenBom "org.springframework.cloud:spring-cloud-bus:2.0.0.RELEASE"
}
}
dependencies {
compile group: "org.springframework.boot", name: "spring-boot-starter-web"
compile group: "org.springframework.boot", name: "spring-boot-starter-data-jpa"
compile group: "org.springframework.boot", name: "spring-boot-starter-actuator"
compile group: "org.springframework.boot", name: "spring-boot-starter-hateoas"
compile group: "org.springframework.boot", name: "spring-boot-starter-security"
compile group: "org.springframework.boot", name: "spring-boot-starter-thymeleaf"
compile group: "org.springframework.cloud", name: "spring-cloud-starter-oauth2"
compile group: "org.springframework.cloud", name: "spring-cloud-starter-bus-amqp"
compile group: "org.springframework.boot", name: "spring-boot-starter-social-facebook", version: "1.5.14.RELEASE"
compile group: "org.springframework.boot", name: "spring-boot-starter-social-linkedin", version: "1.5.14.RELEASE"
compile group: "org.springframework.social", name: "spring-social-google", version: "1.1.0"
compile group: "org.springframework.social", name: "spring-social-security", version: "1.1.6.RELEASE"
compile group: "org.springframework.social", name: "spring-social-facebook", version: "3.0.0.M3"
compile group: "org.springframework.data", name: "spring-data-envers", version: "2.0.7.RELEASE"
compile group: "org.springframework", name: "spring-messaging", version: "5.0.6.RELEASE"
compile group: "org.springframework.integration", name: "spring-integration-amqp", version: "5.0.5.RELEASE"
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.3.1.Final'
compile group: 'org.hibernate.validator', name: 'hibernate-validator', version: '6.0.10.Final'
compile group: "org.hibernate", name: "hibernate-spatial", version: "5.3.1.Final"
compile group: "io.springfox", name: "springfox-swagger-ui", version: "2.8.0"
compile group: "io.springfox", name: "springfox-swagger2", version: "2.8.0"
compile group: "org.apache.commons", name: "commons-io", version: "1.3.2"
compile group: "org.apache.commons", name: "commons-lang3", version: "3.7"
compile group: "org.apache.commons", name: "commons-compress", version: "1.15"
compile group: "org.projectlombok", name: "lombok", version: "1.18.2"
runtime group: "org.mariadb.jdbc", name: "mariadb-java-client", version: "2.2.0"
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
compile group: 'com.google.guava', name: 'guava', version: '23.0'
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.9.2'
compile group: "javax.xml.bind", name: "jaxb-api", version: "2.3.0"
compile group: "com.sun.xml.bind", name: "jaxb-impl", version: "2.3.0"
compile group: "com.sun.xml.bind", name: "jaxb-core", version: "2.3.0"
compile group: "javax.activation", name: "javax.activation-api", version: "1.2.0"
testCompile group: "org.springframework.boot", name: "spring-boot-starter-test"
testCompile group: "org.codehaus.groovy", name: "groovy-all", version: "2.4.15"
testCompile group: "org.spockframework", name: "spock-core", version: "1.1-groovy-2.4"
testCompile group: "org.spockframework", name: "spock-spring", version: "1.1-groovy-2.4"
testCompile group: "org.hamcrest", name: "hamcrest-all", version: "1.3"
}
task wrapper(type: Wrapper) {
gradleVersion = "4.8"
}