-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (44 loc) · 1.13 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: 'java'
apply from: 'eclipse.gradle'
version = '0.1-SNAPSHOT'
ext {
jsoupVersion = '1.7.3'
jacksonVersion = '2.1.2'
}
subprojects {
apply plugin: 'java'
apply plugin: 'checkstyle'
sourceCompatibility = 1.6
targetCompatibility = 1.6
group = 'org.openbankdata'
tasks.withType(Compile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
dependencies {
testCompile 'junit:junit:4.11'
testCompile 'org.easymock:easymock:3.2'
compile 'com.github.kevinsawicki:http-request:5.6'
compile 'joda-time:joda-time:2.3'
}
checkstyle {
configFile = file("${rootProject.projectDir}/config/checkstyle/checkstyle.xml")
}
}
subprojects.each { subproject -> evaluationDependsOn(subproject.path) }
task allJar( type: Jar, dependsOn: subprojects.build ) {
baseName = 'openbankdata-all'
subprojects.each { subproject ->
from subproject.configurations.archives.allArtifacts.files.collect {
zipTree(it)
}
}
}
artifacts {
archives allJar
}
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}