Skip to content

Commit

Permalink
fix file signatures for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
John Engelman committed Jul 14, 2019
1 parent 72f0e29 commit f265614
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,16 @@ signing {
}
}

//configurations.signatures.artifacts.all {
// extension = toSignArtifact.extension + "." + extension
//}
project.afterEvaluate {
project.tasks.signPublished.signatures.each {
if (it.type == "jar.asc") {
it.extension = "jar.asc"
}
if (it.type == "zip.asc") {
it.extension = "zip.asc"
}
}
}

configurations {
configurations {
Expand Down

0 comments on commit f265614

Please sign in to comment.