-
Notifications
You must be signed in to change notification settings - Fork 0
/
BuildConfig.groovy
51 lines (45 loc) · 1.18 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
grails.project.class.dir = 'target/classes'
grails.project.test.class.dir = 'target/test-classes'
grails.project.test.reports.dir = 'target/test-reports'
grails.project.docs.output.dir = 'docs' // for backwards-compatibility, the docs are checked into gh-pages branch
grails.release.scm.enabled = false
// Code Narc
codenarc.reports = {
XmlReport('xml') {
outputFile = 'target/test-reports/CodeNarcReport.xml'
title = 'OAuth2 Provider Plugin Report'
}
HtmlReport('html') {
outputFile = 'target/test-reports/CodeNarcReport.html'
title = 'OAuth2 Provider Plugin Report'
}
}
grails.project.dependency.resolution = {
inherits 'global'
log 'warn'
repositories {
grailsPlugins()
grailsHome()
grailsCentral()
mavenLocal()
mavenRepo "http:https://maven.springframework.org/milestone" // For spring-security-oauth provider
}
dependencies {
runtime 'org.springframework.security.oauth:spring-security-oauth:1.0.0.M3', {
excludes "spring-security-core"
}
}
plugins {
// Testing
test ':code-coverage:1.2.4', {
export = false
}
test ':codenarc:0.15', {
export = false
}
provided ':release:1.0.0.RC3', {
export = false
}
compile ':spring-security-core:1.2.1'
}
}