jalviewjsTranspile.mustRunAfter jalviewjsCopyResources
jalviewjsTranspile.mustRunAfter jalviewjsCopySiteResources
-task jalviewjsBuildSite {
+task jalviewjsPrepareSite {
+ group "JalviewJS"
+ description "Prepares the website folder"
dependsOn jalviewjsSitePath
dependsOn jalviewjsUnzipFiles
dependsOn jalviewjsCopyResources
dependsOn jalviewjsCopySiteResources
+}
+
+task jalviewjsBuildSite {
+ group "JalviewJS"
+ description "Builds the whole website including transpiled code"
+ dependsOn jalviewjsPrepareSite
dependsOn jalviewjsTranspile
}
task jalviewjsSiteTar(type: Tar) {
+ group "JalviewJS"
+ description "Creates a tar.gz file for the website"
dependsOn jalviewjsBuildSite
def outputFilename = "jalviewjs-site-${JALVIEW_VERSION}.tar.gz"
try {
def jalviewjsServer = null
task jalviewjsServerStart {
+ group "JalviewJS"
+ description "Starts a webserver on localhost to test the website"
dependsOn jalviewjsSitePath
doLast {
project.afterEvaluate {
+ tasks.findByName('eclipse').dependsOn tasks.findByName('jalviewjsCreateJ2sSettings')
+
if (useIde) {
tasks.findByName('ideJalviewjsImport').dependsOn eclipseProject
tasks.findByName('ideJalviewjsImport').dependsOn eclipseClasspath