From d84b06ecab49bb72c54d641f1f962f0169e176ff Mon Sep 17 00:00:00 2001 From: Thorsten Vitt Date: Thu, 26 Sep 2019 16:34:57 +0200 Subject: [PATCH] fixup! Fixed symlinks in svg_rendering/page --- build.gradle | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 064a9b2..e44bdcc 100644 --- a/build.gradle +++ b/build.gradle @@ -69,6 +69,17 @@ task installTools(type: Copy) { outputs.dir(toolDir) } +task copyWeb(type: CopyWithSymlink) { + description "Copy the web page sources" + from fileTree("src/main/web") + into "$buildDir/www" +} + +task copySource(type: CopyWithSymlink) { + from xmlDir + into "$buildDir/www/xml" +} + task generateSVGs(type: JavaExec) { description "Generates SVGs of diplomatic transcripts and overlays" dependsOn installTools @@ -86,23 +97,12 @@ task generateSVGs(type: JavaExec) { 'phantomjs.binary': "$toolDir/slimerjs-1.0.0/slimerjs" , 'faust.diplo.target': buildDir ]) - systemProperties(project.properties.findAll {key, value -> key.matches('^faust\\.diplo\\.')}) + systemProperties(project.properties.findAll {key, value -> key.matches('^faust\\.diplo\\..*')}) classpath sourceSets.main.runtimeClasspath main 'net.faustedition.gen.DiplomaticConversion' } -task copyWeb(type: CopyWithSymlink) { - description "Copy the web page sources" - from fileTree("src/main/web") - into "$buildDir/www" -} - -task copySource(type: CopyWithSymlink) { - from xmlDir - into "$buildDir/www/xml" -} - build.dependsOn generateSVGs, copyWeb, copySource