You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2026/02/22 14:41:18 UTC

(tapestry-5) branch master updated: Fixing generateChecksums Gradle task

This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new 5bac8eb6a Fixing generateChecksums Gradle task
5bac8eb6a is described below

commit 5bac8eb6a2b22bb9a690f6124b166aa38617f36e
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Sun Feb 22 11:41:05 2026 -0300

    Fixing generateChecksums Gradle task
---
 build.gradle | 4 ++--
 justfile     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.gradle b/build.gradle
index 7196a0aa2..6cf493e77 100755
--- a/build.gradle
+++ b/build.gradle
@@ -487,7 +487,7 @@ if (canDeploy) {
         description 'Creates MD5/SHA256 checksums for archives of source and JavaDoc'
 
         source tasks.withType(Zip)
-        outputDir = layout.buildDirectory.dir('checksums')
+        outputDir = layout.buildDirectory.dir('checksums').get().getAsFile()
     }
 
     // This requires that you have the apacheArchivesFolder property configured in your
@@ -508,7 +508,7 @@ if (canDeploy) {
         group 'Release artifact'
         description 'Copies build archives (source, bin, docs) to a configured deployment folder, along with MD5 and SHA-256 checksums and PGP signatures (if signing is enabled)'
 
-        destinationDirectory = file(archiveDeployFolder.get())
+        destinationDir = file(archiveDeployFolder.get())
 
         from tasks.generateChecksums
         from configurations.uploads.allArtifacts.files
diff --git a/justfile b/justfile
index 3bfea3aa4..9f94a7125 100644
--- a/justfile
+++ b/justfile
@@ -19,7 +19,7 @@ tapestry-core-maven-local-snapshot:
 _deploy_branch branch extra-options:
 	echo "Releasing branch: {{branch}} with Gradle extra options '{{extra-options}}'"
 	# Fail if there are untracked files or uncommitted changes
-	# git diff --quiet && git diff --cached --quiet || echo "\nThere are untracked files or uncommitted changes!\n" && git status && false
+	git diff --quiet && git diff --cached --quiet || echo "\nThere are untracked files or uncommitted changes!\n" && git status && false
 	git checkout {{branch}}
 	./gradlew clean generateRelease {{gradle-options}} {{extra-options}}