git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3337 publish help as html pages with GA tracker (ant task rescued from old build...
[jalview.git]
/
build.gradle
diff --git
a/build.gradle
b/build.gradle
index
995afaf
..
9c57524
100644
(file)
--- a/
build.gradle
+++ b/
build.gradle
@@
-747,6
+747,12
@@
task linkCheck(type: JavaExec) {
outputs.file(helplinkscheckertouchfile)
}
outputs.file(helplinkscheckertouchfile)
}
+// import the pubhtmlhelp target
+ant.properties.basedir = "$jalviewDir"
+ant.properties.helpBuildDir = jalviewDirAbsolutePath+"/$classes/$helpDir"
+ant.importBuild "$utilsDir/publishHelp.xml"
+
+
task cleanPackageDir(type: Delete) {
delete fileTree("$jalviewDir/$packageDir").include("*.jar")
}
task cleanPackageDir(type: Delete) {
delete fileTree("$jalviewDir/$packageDir").include("*.jar")
}
@@
-1204,3
+1210,10
@@
task sourceDist (type: Tar) {
}
}
+task helppages {
+ dependsOn copyHelp
+ dependsOn pubhtmlhelp
+
+ inputs.dir("$classes/$helpDir")
+ outputs.file("build/distribution/help/helpTOC.html")
+}
\ No newline at end of file