Build: Fixed comments/messages related to freemarker.allowUnsignedReleaseBuild.
diff --git a/buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt b/buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt
index f30c5bf..d268c10 100644
--- a/buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt
+++ b/buildSrc/src/main/kotlin/freemarker/build/FreemarkerRootPlugin.kt
@@ -89,7 +89,8 @@
}
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 6e773bf..933e111 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -31,7 +31,7 @@
# - 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>