-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (39 loc) · 846 Bytes
/
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
apply plugin: 'idea'
apply plugin: 'maven'
def configDir = new File(rootDir, 'config')
allprojects {
apply plugin: 'eclipse'
}
idea {
project {
languageLevel = '1.7'
}
}
subprojects {
apply plugin: 'checkstyle'
apply plugin: 'findbugs'
apply plugin: 'idea'
apply plugin: 'pmd'
checkstyle {
toolVersion = '6.4.1'
configFile = new File(configDir, "checkstyle/checkstyle.xml")
}
findbugs {
effort = "max"
reportLevel = "low"
toolVersion = "3.0.1"
}
tasks.withType(FindBugs) {
reports {
xml.enabled = false
html.enabled = true
}
}
}
/* Generate gradlew and gradle wrappers for portable gradle use */
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
def generateClassPath(configurationSet, prefix) {
configurationSet.collect { prefix + it.getName() }.join(" ")
}