Skip to content

Commit 81a1041

Browse files
committed
#916 Fix dist not signed automatically
1 parent ef4b63e commit 81a1041

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ tasks.register('dist', Zip) {
152152
// NOTE: Inclusion of files from sub-projects is handled in their respective build.gradle files
153153
}
154154

155+
tasks.named('assemble') {
156+
dependsOn tasks.named('dist')
157+
dependsOn tasks.named('signDist')
158+
}
159+
155160
// REUSE-IgnoreStart
156161
jar {
157162
manifest {

devdoc/publish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Publishing
88
To publish to Maven use
99

1010
```
11-
gradlew clean dist assemble publish -PcredentialsPassphrase=<credentials password>
11+
gradlew clean assemble publish -PcredentialsPassphrase=<credentials password>
1212
```
1313
Where `<credentials password>` is the password used to add the credentials (see
1414
also below).

0 commit comments

Comments
 (0)