Skip to content

Commit

Permalink
Publishing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Kochetkov committed Sep 13, 2023
1 parent 2c46bd0 commit 215ccc5
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 20 deletions.
13 changes: 9 additions & 4 deletions cache/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,14 @@ publishing {
}
}
}
}

signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}
signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}

val signingTasks = tasks.withType<Sign>()
tasks.withType<AbstractPublishToMaven>().configureEach {
dependsOn(signingTasks)
}
13 changes: 9 additions & 4 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,14 @@ publishing {
}
}
}
}

signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}
signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}

val signingTasks = tasks.withType<Sign>()
tasks.withType<AbstractPublishToMaven>().configureEach {
dependsOn(signingTasks)
}
13 changes: 9 additions & 4 deletions coroutines/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,14 @@ publishing {
}
}
}
}

signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}
signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}

val signingTasks = tasks.withType<Sign>()
tasks.withType<AbstractPublishToMaven>().configureEach {
dependsOn(signingTasks)
}
13 changes: 9 additions & 4 deletions lce/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,14 @@ publishing {
}
}
}
}

signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}
signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}

val signingTasks = tasks.withType<Sign>()
tasks.withType<AbstractPublishToMaven>().configureEach {
dependsOn(signingTasks)
}
13 changes: 9 additions & 4 deletions utils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,14 @@ publishing {
}
}
}
}

signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}
signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}

val signingTasks = tasks.withType<Sign>()
tasks.withType<AbstractPublishToMaven>().configureEach {
dependsOn(signingTasks)
}

0 comments on commit 215ccc5

Please sign in to comment.