Skip to content

Commit

Permalink
manually have publish tasks depend on sign tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Aug 14, 2023
1 parent 7476058 commit d7babee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vclib-openid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,6 @@ signing {
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
sign(publishing.publications)
}

val signTasks = tasks.filterIsInstance<Sign>()
tasks.filterIsInstance<AbstractPublishToMaven>().forEach { it.dependsOn(*signTasks.toTypedArray()) }

0 comments on commit d7babee

Please sign in to comment.