Added corda capsule to output of publish.

This commit is contained in:
Clinton Alexander 2016-09-28 13:46:00 +01:00
parent f13a21cc6c
commit 4cdb4352b6

View File

@ -244,4 +244,21 @@ task installTemplateNodes(dependsOn: 'buildCordaJAR') << {
into "${buildDir}/nodes"
}
}
task cordaJar(type: Jar, dependsOn: 'buildCordaJAR') {
classifier = 'sources'
from buildCordaJAR.outputs.getFiles()
}
// TODO: Rename capsule to "corda"
publishing {
publications {
corda(MavenPublication) {
from components.java
artifactId 'corda'
artifact buildCordaJAR
}
}
}