-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
62 lines (51 loc) · 1.3 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
apply plugin: 'eclipse'
apply plugin: 'groovy'
apply plugin: 'maven'
group = 'com.wotifgroup.cucumber'
version = '1.1.22'
repositories {
mavenCentral()
mavenRepo name: 'Wotif Nexus', url: 'http://maven.dev.wotifgroup.com/content/groups/public'
mavenLocal()
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "http://maven.dev.wotifgroup.com/content/repositories/releases"){
authentication(userName: mavenUser, password: mavenPassword)
}
}
}
}
configurations {
compile.exclude module: 'commons'
all*.exclude group:'net.sourceforge.nekohtml', module: 'nekohtml'
all*.exclude group:'org.codehaus.groovy', module: 'groovy'
}
dependencies {
compile('org.codehaus.groovy:groovy-all:2.0.8'){
transitive = true
}
compile("org.codehaus.groovy.modules.http-builder:http-builder:0.6") {
exclude module: "xml-apis"
exclude module: "groovy"
exclude module: "nekohtml"
}
testCompile("junit:junit:4.11")
compile("info.cukes:cucumber-groovy:1.1.2") {
transitive = true
exclude module: "ant"
}
}
sourceSets {
main {
groovy {
srcDirs = ['src/groovy']
}
}
test {
groovy {
srcDirs = ['test/groovy']
}
}
}