build: fix ditasource zip name
@@ -48,7 +48,7 @@ task ditasourcezip(type: Zip) {
// depending on ditasite does some validation of the files going into the dita source zip
dependsOn ditasite
- archiveName "${project.name}-${version}-ditasource.zip"
+ archiveName "${rootProject.name}-${version}-ditasource.zip"
from generatedDir
destinationDir(file("${buildDir}/libs/"))
}
@@ -57,7 +57,7 @@ task publishDitaSource() {
dependsOn ditasourcezip
doLast {
- def ditaSourceZipName = "${project.name}-${version}-ditasource.zip"
+ def ditaSourceZipName = "${rootProject.name}-${version}-ditasource.zip"
def ditaSourceZipLocation = "${buildDir}/libs/${ditaSourceZipName}"
exec {
commandLine 'curl', '--insecure', '-u', "${project.ext.artifactoryDeployerUsername}:${project.ext.artifactoryDeployerPassword}", '-X', 'PUT',
