-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle
43 lines (38 loc) · 1.31 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
// build all and publish locally
task buildOnly {
dependsOn ":core:publishCorePublicationToMavenLocal"
dependsOn ":restmapper:publishRestmapperPublicationToMavenLocal"
dependsOn ":webconnector:publishWebconnectorPublicationToMavenLocal"
dependsOn ":bundle:publishBundlePublicationToMavenLocal"
}
// build all (without bundle) and publish locally
task buildOnlyNoBundle {
dependsOn ":core:publishCorePublicationToMavenLocal"
dependsOn ":restmapper:publishRestmapperPublicationToMavenLocal"
dependsOn ":webconnector:publishWebconnectorPublicationToMavenLocal"
}
// copy javadoc of all components into one single folder
task deployJavadoc {
dependsOn ":webconnector:buildFrontend"
dependsOn ":core:javadoc"
dependsOn ":restmapper:javadoc"
dependsOn ":webconnector:javadoc"
dependsOn "copyCoreDocs"
dependsOn "copyRestmapperDocs"
dependsOn "copyWebconnectorDocs"
}
task copyCoreDocs(type: Copy) {
dependsOn ":core:javadoc"
from "core/export/javadoc/"
into "javadoc/core"
}
task copyRestmapperDocs(type: Copy) {
dependsOn ":restmapper:javadoc"
from "restmapper/export/javadoc/"
into "javadoc/restmapper"
}
task copyWebconnectorDocs(type: Copy) {
dependsOn ":webconnector:javadoc"
from "webconnector/export/javadoc/"
into "javadoc/webconnector"
}