-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (35 loc) · 972 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
42
apply plugin: 'java'
repositories { mavenCentral() }
sourceSets {
test { resources { srcDir 'src/main/specs' } }
}
dependencies {
compile (
'org.jbehave:jbehave-ant:3.6.8',
'com.google.code.gson:gson:2.2.1',
'com.google.guava:guava:13.0.1',
'org.freemarker:freemarker:2.3.15',
'org.seleniumhq.selenium:selenium-java:2.21.0',
'de.codecentric:jbehave-junit-runner:1.0.1',
'org.slf4j:slf4j-api:1.7.0',
'org.slf4j:slf4j-log4j12:1.7.0',
'log4j:log4j:1.2.17',
'org.slf4j:jul-to-slf4j:1.6.6',
'uk.org.lidalia:sysout-over-slf4j:1.0.2',
)
testCompile(
'org.springframework:spring-test:3.1.1.RELEASE',
'junit:junit:4.9',
'org.hamcrest:hamcrest-all:1.1',
)
//uber-jar/shade
jar {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it)
} }
}
// custom tasks for creating source jar
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
}