-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
91 lines (74 loc) · 1.43 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
allprojects {
version = currentVersion
apply plugin: 'java'
apply plugin: 'pmd'
buildscript {
repositories {
jcenter()
}
}
repositories {
mavenCentral()
jcenter()
}
jar {
archivesBaseName = 'poijoi'
}
task hello << {task -> println "I'm $task.project.name" }
task jarWithDependencies(type:Jar) {
appendix = project.name
classifier = 'withdependencies'
from project.configurations.compile, project.sourceSets.main.output.classesDir
}
task javadocJar(type: Jar, dependsOn: javadoc) {
appendix = project.name
classifier = 'javadoc'
from javadoc.destinationDir
}
task sourceJar(type: Jar) {
appendix = project.name
classifier = 'source'
from sourceSets.main.allSource
}
}
subprojects {
// Disable the test report for the individual test task
test {
reports.html.enabled = false
}
}
project(':io-mdb') {
dependencies {
compile project(':core')
}
}
project(':io-ods') {
dependencies {
compile project(':core')
}
}
project(':io-xls') {
dependencies {
compile project(':core')
}
}
project(':io-sql') {
dependencies {
compile project(':core')
}
}
project(':io-xlsx') {
dependencies {
compile project(':core')
}
}
project(':io-sqlite') {
dependencies {
compile project(':core')
}
}
task testReport(type: TestReport) {
destinationDir = file("$buildDir/reports/allTests")
// Include the results from the `test` task in all subprojects
reportOn subprojects*.test
}