-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (47 loc) · 1.28 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
plugins {
id 'java'
//id 'groovy'
//id 'war'
id 'org.springframework.boot' version '1.5.3.RELEASE'
//id 'findbugs'
id 'idea'
}
bootRun {
addResources = true
environment 'CATALINA_HOME', '.'
environment 'XXX_SVR_ID', 'elxxxdev'
environment 'XXX_LOG_PROFILE', 'dev'
environment 'XXX_APP_PROFILE', 'dev'
}
// tasks.withType(FindBugs) {
// reports {
// xml.enabled false
// html.enabled true
// }
// }
// findbugs {
// effort = 'max'
// reportLevel = 'high'
// ignoreFailures = true
// sourceSets = [sourceSets.main]
// }
configurations {
providedRuntime
}
// Dependencies
apply from: 'build-deps.gradle'
dependencies {
/*-------------+
| DEV. TOOL |
+=============*/
// Runtime Hot-Swap for task:bootRun
runtime group: 'org.springframework.boot', name: 'spring-boot-devtools'
// Runtime for task:bootRun by tomcat
//providedRuntime group: 'org.springframework.boot', name: 'spring-boot-starter-tomcat'
/*------------+
| TESTING |
+============*/
// Spock Test Framework with Spring
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test'
//testCompile group: 'org.spockframework', name: 'spock-spring', version: '1.0-groovy-2.4'
}