forked from srs/gradle-node-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (45 loc) · 1.26 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
buildscript {
apply from: "$rootDir/gradle/buildscript.gradle", to: buildscript
}
group = 'com.moowork.gradle'
apply plugin: 'idea'
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'java-gradle-plugin'
apply from: "$rootDir/gradle/additional-artifacts.gradle"
apply from: "$rootDir/gradle/coverage.gradle"
apply from: "$rootDir/gradle/travis-ci.gradle"
apply from: "$rootDir/gradle/publishing.gradle"
ext.compatibilityVersion = '1.8'
sourceCompatibility = compatibilityVersion
targetCompatibility = compatibilityVersion
repositories {
jcenter()
}
configurations {
integTestCompile.extendsFrom testCompile
integTestRuntime.extendsFrom testRuntime
}
dependencies {
compile gradleApi()
testCompile 'cglib:cglib-nodep:3.2.4'
testCompile 'org.apache.commons:commons-io:1.3.2'
testCompile( 'org.spockframework:spock-core:1.0-groovy-2.4' ) {
exclude group: 'org.codehaus.groovy'
}
}
tasks.withType( Test ) {
testLogging {
events "skipped", "failed"
exceptionFormat "full"
}
}
sourceSets {
integTest
}
task integTest( type: Test ) {
shouldRunAfter test
testClassesDirs = sourceSets.integTest.output.classesDirs
classpath = sourceSets.integTest.runtimeClasspath
}