We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08859f7 commit b154f73Copy full SHA for b154f73
gradle/sonatype-central.gradle
@@ -107,7 +107,8 @@ tasks.register("publishSnapshotToCentral") {
107
108
// Upload each artifact file
109
artifactDir.eachFile { file ->
110
- if (file.isFile() && !file.name.endsWith('.sha1') && !file.name.endsWith('.md5')) {
+ if (file.isFile() && !file.name.endsWith('.sha1') && !file.name.endsWith('.md5') &&
111
+ !file.name.endsWith('.sha256') && !file.name.endsWith('.sha512')) {
112
println "Uploading ${file.name} to Sonatype Central snapshots..."
113
114
def connection = new URL("https://central.sonatype.com/api/v1/publisher/snapshots/${project.group}/${project.name}/${project.version}/${file.name}").openConnection()
0 commit comments