forked from Netflix/asgard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (35 loc) · 901 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
import nl.javadude.gradle.plugins.license.License
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.0'
}
}
apply plugin: 'license'
task(licensesAll, type: License) {
check = false
source '.'
include 'grails-app/**'
include 'src/groovy/**/*.groovy'
include 'scripts/**'
include 'test/integration/**'
include 'test/unit/**'
include 'web-app/css/**'
include 'web-app/js/*'
exclude 'web-app/js/chromeframeinstall.js'
exclude 'web-app/js/jquery.js'
exclude '**/*.json'
}
license {
header rootProject.file('codequality/HEADER')
ext.year = Calendar.getInstance().get(Calendar.YEAR)
mapping {
groovy='SLASHSTAR_STYLE'
gsp='DYNASCRIPT_STYLE'
}
}
task(test, type:Exec) {
commandLine './grailsw', 'test-app'
}