Skip to content

Commit

Permalink
build: fix JitPack signing failure
Browse files Browse the repository at this point in the history
  • Loading branch information
uchuhimo committed Apr 8, 2021
1 parent 77f0069 commit c8cdaa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import java.util.Properties

val ossUserToken by extra { getPrivateProperty("ossUserToken") }
val ossUserPassword by extra { getPrivateProperty("ossUserPassword") }
val signPublications by extra { getPrivateProperty("signPublications") }
val useAliyun by extra { shouldUseAliyun() }

tasks.named<Wrapper>("wrapper") {
Expand Down Expand Up @@ -288,6 +289,7 @@ subprojects {
}

signing {
setRequired({ signPublications == "true" })
sign(publishing.publications["maven"])
}

Expand Down

0 comments on commit c8cdaa3

Please sign in to comment.