-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
72 lines (57 loc) · 1.85 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
plugins {
id 'groovy'
id 'maven'
id 'eclipse'
id 'idea'
id 'project-report'
id "net.saliman.cobertura" version "2.2.5"
id "com.github.hierynomus.license" version "0.11.0"
id "org.ajoberstar.github-pages" version "0.10.0"
id "org.asciidoctor.gradle.asciidoctor" version "1.5.0"
}
group = 'com.aestasit.infrastructure.winrm'
version = '0.7-SNAPSHOT'
apply from: 'gradle/repos.gradle'
apply from: 'gradle/sonar.gradle'
apply from: 'gradle/docs.gradle'
dependencies {
compile "org.codehaus.groovy:groovy-all:${groovyVersion}"
compile "org.slf4j:slf4j-api:${slf4jVersion}"
compile "org.slf4j:jcl-over-slf4j:${slf4jVersion}"
compile "ch.qos.logback:logback-classic:${logbackVersion}"
compile "org.codehaus.groovy.modules.http-builder:http-builder:${httpBuilderVersion}"
compile "org.apache.commons:commons-lang3:${commonsLangVersion}"
compile "commons-io:commons-io:${commonsIOVersion}"
compile "commons-codec:commons-codec:${commonsCodecVersion}"
testCompile "junit:junit:${junitVersion}"
testCompile "org.mortbay.jetty:jetty:${jettyVersion}"
}
sourceSets {
integrationTest {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
}
}
configurations {
all*.exclude group: 'commons-logging'
all*.exclude group: 'log4j'
all*.exclude module: 'slf4j-simple'
integrationTestCompile.extendsFrom testCompile
integrationTestRuntime.extendsFrom testRuntime
}
task integration(type: Test) {
description = "Run integration tests (located in src/integrationTest/groovy)."
testClassesDir = project.sourceSets.integrationTest.output.classesDir
classpath = project.sourceSets.integrationTest.runtimeClasspath
}
idea {
module {
testSourceDirs += file('src/integrationTest/groovy')
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2'
}
license {
header rootProject.file('HEADER')
}