Fix base directory name within -dist distribution

Without the .get(), the substitution names the property rather than interpolating its value.
This commit is contained in:
Ian Young
2021-12-23 21:26:43 +00:00
committed by rstoyanchev
parent c8c9df6d54
commit 014c3d4893

View File

@@ -333,7 +333,7 @@ configure(rootProject) {
description = "Builds -${archiveClassifier.get()} archive, containing all jars and docs, " +
"suitable for community download page."
def baseDir = "${archiveBaseName}-${project.version}"
def baseDir = "${archiveBaseName.get()}-${project.version}"
from("src/dist") {
include "notice.txt"