I've built a Corda library which is published to a Maven repository in GitHub: https://github.com/onix-labs/onixlabs-corda-core
When I use this as a dependency in a CorDapp, I can only see the function or property signatures. I cannot debug into the underlying source or see the accompanying documentation.
The library is using the following dependendencies:
- Kotlin 1.2.71
- Gradle 5.2.1
I tried to include this:
plugins {
id 'java'
id 'maven-publish'
}
java {
withSourcesJar()
withJavadocJar()
}
Apparently withSourcesJar and withJavadocJar only apply to Gradle 6.0+ so it won't work with this project.
How can I deploy the additional artefacts using Gradle 5.2.1?