Trying to publish javadocs but running into: ```* ...
# dokka
p
Trying to publish javadocs but running into:
Copy code
* What went wrong:
A problem was found with the configuration of task ':signJvmPublication' (type 'Sign').
  - Gradle detected a problem with the following location: '/Users/pcarrier/src/graphed/build/libs/graphed-0.1.0-SNAPSHOT-javadoc.jar.asc'.
    
    Reason: Task ':publishJsPublicationToOssRepository' uses this output of task ':signJvmPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
what I did: https://github.com/pcarrier/graphed/commit/90fb68f1e04c545d818ec5b0579393f191b356b5
1
a
the Gradle signing plugin is pretty old and buggy, unfortunately. try adding this:
Copy code
tasks.withType<AbstractPublishToMaven>().configureEach {
   dependsOn(tasks.withType<Sign>())
}
p
That seems to have done the trick, thanks!
👍 1