From 99b16a59e66ba62e0308402eb3de5460fc2475bd Mon Sep 17 00:00:00 2001 From: crschnick Date: Fri, 19 Jul 2024 17:17:03 +0000 Subject: [PATCH] Fix sha256sums containing mapping file --- dist/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/build.gradle b/dist/build.gradle index 7f5f09b9d..a46a36bed 100644 --- a/dist/build.gradle +++ b/dist/build.gradle @@ -40,11 +40,11 @@ task createChecksums(type: Checksum) { doLast { def artifactChecksumsSha256Hex = new HashMap() for (final def file in outputDirectory.get().getAsFileTree().files) { - if (file.toString().endsWith('mapping.map') || file.toString().endsWith('.asc')) { + def name = file.name.lastIndexOf('.').with {it != -1 ? file.name[0..