Skip to content

Commit 283e434

Browse files
authored
fix output path for checksum (#2)
fix output path for checksum
1 parent 4f88166 commit 283e434

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,11 @@ allprojects {
169169
task fatJar(dependsOn: [test, shadowJar])
170170

171171
task createChecksums(type: Checksum, dependsOn: 'shadowJar') {
172-
inputFiles.setFrom("${project.name}-${project.version}-all.jar")
173-
checksumAlgorithm.set(Checksum.Algorithm.SHA512)
174-
appendFileNameToChecksum.set(true)
172+
files = fileTree(dir: "build/libs").matching {
173+
exclude "**/*.sha256"
174+
}
175+
outputDir = new File("build/libs")
176+
algorithm = Checksum.Algorithm.SHA256
175177
}
176178

177179
artifacts {

0 commit comments

Comments
 (0)