This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch 2.3-gae
in repository https://gitbox.apache.org/repos/asf/freemarker.git
The following commit(s) were added to refs/heads/2.3-gae by this push:
new b3de364e Build: Fixed comments/messages related to
freemarker.allowUnsignedReleaseBuild.
b3de364e is described below
commit b3de364ea25c48983538137e29a309138be6f88c
Author: ddekany <[email protected]>
AuthorDate: Tue Dec 26 11:16:17 2023 +0100
Build: Fixed comments/messages related to
freemarker.allowUnsignedReleaseBuild.
---
buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt | 3 ++-
gradle.properties | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt
b/buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt
index f30c5bf1..d268c103 100644
--- a/buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt
+++ b/buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt
@@ -89,7 +89,8 @@ open class FreemarkerRootPlugin : Plugin<Project> {
}
if (!ext.signMethod.needSignature() &&
!ext.allowUnsignedReleaseBuild) {
throw IllegalStateException("Package signing is
disabled, which is not allowed for release versions! "
- + "(For testing purposes only, you may set the
Gradle property to false)")
+ + "(For testing purposes only, you may set the
freemarker.allowUnsignedReleaseBuild "
+ + "Gradle property to true.)")
}
}
}
diff --git a/gradle.properties b/gradle.properties
index 6e773bf5..933e111f 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -31,7 +31,7 @@ freemarker.signMethod=none
# - For gpg_command, you need GNU Privacy Guard installed, and you don't have
to set anything if it's on the path.
# To allow building for a releasable version number when
freemarker.signMethod=none. Only use for CI, and local testing!
-#freemarker.allowUnsignedReleaseBuild=false
+#freemarker.allowUnsignedReleaseBuild=true
# To publish to the Apache Maven repo (for staging), somewhere you have to set
these:
#freemarker.deploy.apache.user=<your user name at the ASF>