forked from sshoogr/sshoogr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (56 loc) · 1.74 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
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.sshoogr'
version = '0.9.19-SNAPSHOT'
apply from: 'repos.gradle'
apply from: 'sonar.gradle'
apply from: '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 "commons-io:commons-io:${commonsIOVersion}"
compile "commons-codec:commons-codec:${commonsCodecVersion}"
compile "com.jcraft:jsch:${jschVersion}"
testCompile "junit:junit:${junitVersion}"
testCompile "com.aestasit.infrastructure.mock:groovy-sshd-mock:0.3"
}
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 wrapper(type: Wrapper) {
gradleVersion = '2.1'
}
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')
}
}
license {
header rootProject.file('HEADER')
}