/
BuildConfig.groovy
62 lines (51 loc) · 1.57 KB
/
BuildConfig.groovy
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
grails.project.work.dir = 'target'
grails.project.dependency.resolution = {
inherits 'global'
log 'warn'
legacyResolve true
repositories {
grailsPlugins()
grailsHome()
grailsCentral()
mavenLocal()
mavenCentral()
mavenRepo "http://repo.grails.org/grails/libs-releases/"
mavenRepo "http://m2repo.spockframework.org/ext/"
mavenRepo "http://m2repo.spockframework.org/snapshots/"
}
dependencies {
}
plugins {
compile(":joda-time:1.4")
build(':release:3.0.1',
':rest-client-builder:2.0.1'){
export = false
}
test ":hibernate:3.6.10.13", {
export = false
}
test(":code-coverage:1.2.6",
":codenarc:0.20",
":build-test-data:2.1.2") {
export = false
}
}
}
coverage {
xml = true
exclusions = ['**/*Tests*']
}
codenarc {
processTestUnit = false
processTestIntegration = false
processServices = false
processDomain = false
propertiesFile = 'codenarc.properties'
ruleSetFiles = 'file:grails-app/conf/codenarc.groovy'
reports = {
CxfClientReport('xml') { // The report name 'MyXmlReport' is user-defined; Report type is 'xml'
outputFile = 'target/codenarc.xml' // Set the 'outputFile' property of the (XML) Report
title = 'Grails FilterPane Plugin' // Set the 'title' property of the (XML) Report
}
}
}