Skip to content

Commit 9efe698

Browse files
author
pavels
committed
New version
1 parent 119090a commit 9efe698

2 files changed

Lines changed: 18 additions & 22 deletions

File tree

BUILD-README.txt

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,23 @@ To build search.war:
88

99
gradle :search:clean :search:build
1010

11+
To build client.war:
1112

12-
Creating full distribution (contains rightseditor,editor, K4 app and javadocs ):
13+
gradle :client:clean :client:build
1314

14-
gradle distTar -> creates tar.gz file
15-
gradle distZip -> creates zip file
1615

17-
Note: It is expected that you will have rightseditor and editor wars in your m2 repo.
16+
Creating full distribution (contains rightseditor,editor, K5, Client and javadocs ):
1817

19-
Creating patch distribution (k4 app only)
18+
gradle zipAllJavadocs distTar -> creates tar.gz file
19+
gradle zipAllJavadocs distZip -> creates zip file
20+
gradle zipAllJavadocs -> Only javadoc documentation
21+
22+
Note: It is expected you have rightseditor and editor wars in your m2 repo.
23+
24+
Creating patch distribution (K5, Client, security-core only)
2025

2126
gradle patchDistTar
2227
gradle patchDistZip
2328

29+
30+

build.gradle

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,19 @@ distributions {
5353
// main distribution
5454
main {
5555
contents {
56+
from {'client/build/libs'}
5657
from {'search/build/libs'}
5758
from {'security-core/build/libs'}
5859
from configurations.editors
5960
from 'build/distributions/kramerius-javadoc.zip'
6061
}
6162
}
6263

64+
6365
// patch distribution
6466
patch {
6567
contents {
68+
from {'client/build/libs'}
6669
from {'search/build/libs'}
6770
from {'security-core/build/libs'}
6871
}
@@ -94,7 +97,7 @@ subprojects {
9497

9598

9699
group='cz.incad.kramerius'
97-
version='5.3.1'
100+
version='5.3.2'
98101

99102
sourceCompatibility = 1.6
100103
targetCompatibility= 1.6
@@ -209,23 +212,9 @@ task zipAllJavadocs(type: Zip) {
209212

210213
}
211214

212-
[distZip, distTar, installDist].each() {
213-
it.dependsOn('clean',':search:build')
214-
};
215-
216-
[distZip, distTar, installDist].each() {
217-
gradle.taskGraph.whenReady {taskGraph ->
218-
if (taskGraph.hasTask(it)) {
219-
it.dependsOn(zipAllJavadocs)
220-
}
221-
}
215+
[distZip, distTar, installDist,patchDistZip,patchDistTar].each() {
216+
it.dependsOn('clean',':search:build',':client:build')
222217
};
223218

224219

225220

226-
/*
227-
[distZip, distTar, installDist].each() {
228-
it.dependsOn(zipAllJavadocs)
229-
};*/
230-
231-

0 commit comments

Comments
 (0)