Skip to content

Commit c8a7ee8

Browse files
committed
#916 Fix dist not signed automatically
1 parent 0b72d74 commit c8a7ee8

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
@@ -150,6 +150,11 @@ tasks.register('dist', Zip) {
150150
// NOTE: Inclusion of files from sub-projects is handled in their respective build.gradle files
151151
}
152152

153+
tasks.named('assemble') {
154+
dependsOn tasks.named('dist')
155+
dependsOn tasks.named('signDist')
156+
}
157+
153158
jar {
154159
manifest {
155160
attributes(

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)