mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
INFRA-415: Add empty javadoc to node-driver (#6429)
Maven central will not allow the node-driver to be published without a Javadoc `.jar` file, even if it is empty. This adds an empty Javadoc `.jar` to the output.
This commit is contained in:
parent
bfc311e660
commit
f8d86c0617
2
testing/node-driver/README.md
Normal file
2
testing/node-driver/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
## corda-node-driver.
|
||||
This artifact is the node-driver used for testing Corda.
|
@ -73,9 +73,17 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tasks.named('javadocJar', Jar) {
|
||||
from 'README.md'
|
||||
include 'README.md'
|
||||
}
|
||||
|
||||
tasks.named('javadoc', Javadoc) {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
publish {
|
||||
publishSources = true
|
||||
publishJavadoc = false
|
||||
name jar.baseName
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user