diff options
Diffstat (limited to 'pdf-as-web')
-rw-r--r-- | pdf-as-web/build.gradle | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pdf-as-web/build.gradle b/pdf-as-web/build.gradle index 0fb333eb..ae27c7db 100644 --- a/pdf-as-web/build.gradle +++ b/pdf-as-web/build.gradle @@ -173,7 +173,7 @@ task putConfigIntoTomcat(dependsOn: putTemplateIntoTomcat)<<{ task putWebConfigIntoTomcat(dependsOn: putConfigIntoTomcat)<<{ deployVersions.each{ - String targetDir = "build/tomcat-##VERSION##/apache-tomcat-##VERSION##/conf/pdf-as"; + String targetDir = "build/tomcat-##VERSION##"+it+"/apache-tomcat-##VERSION##/conf/pdf-as"; targetDir = targetDir.replaceAll("##VERSION##", project.tomcatVersion); copy{ @@ -203,7 +203,7 @@ task createPdfbox2War(type:War){ sourceSets.test.compileClasspath -= configurations.pdfbox1 sourceSets.main.compileClasspath += configurations.pdfbox2 sourceSets.test.compileClasspath += configurations.pdfbox2 - classpath=sourceSets.main.compileClasspath + classpath+=sourceSets.main.compileClasspath } } @@ -283,14 +283,13 @@ task releaseConfig(type: Copy) { - war{ doFirst{ sourceSets.main.compileClasspath -= configurations.pdfbox2 sourceSets.test.compileClasspath -= configurations.pdfbox2 sourceSets.main.compileClasspath += configurations.pdfbox1 sourceSets.test.compileClasspath += configurations.pdfbox1 - classpath=sourceSets.main.compileClasspath + classpath+=sourceSets.main.compileClasspath } } |