Skip to content

Commit

Permalink
useGpgCmd
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStahlfelge committed Dec 19, 2020
1 parent b076150 commit 6f2d60d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion androidpublish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ uploadArchives {
}

signing {
required { isReleaseBuild() && gradle.taskGraph.hasTask("uploadArchives") }
useGpgCmd()
required { isReleaseBuild() }
sign configurations.archives
}

Expand Down
3 changes: 2 additions & 1 deletion publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ afterEvaluate { project ->
}

signing {
required { isReleaseBuild() && gradle.taskGraph.hasTask("uploadArchives") }
useGpgCmd()
required { isReleaseBuild() }
sign configurations.archives
}

Expand Down

0 comments on commit 6f2d60d

Please sign in to comment.