mirror of
https://github.com/corda/corda.git
synced 2024-12-18 12:46:29 +00:00
ENT-11382: Add missing Pom meta data and JavaDoc Jars (#7758)
* ENT-11382: fix pom generation * ENT-11382: Add missing JavaDoc publications
This commit is contained in:
parent
2d8e68211f
commit
6729a40289
@ -5,6 +5,38 @@ import groovy.transform.CompileStatic
|
|||||||
if (System.getenv('CORDA_ARTIFACTORY_USERNAME') != null || project.hasProperty('cordaArtifactoryUsername')) {
|
if (System.getenv('CORDA_ARTIFACTORY_USERNAME') != null || project.hasProperty('cordaArtifactoryUsername')) {
|
||||||
logger.info("Internal R3 user - resolving publication build dependencies from internal plugins")
|
logger.info("Internal R3 user - resolving publication build dependencies from internal plugins")
|
||||||
pluginManager.apply('com.r3.internal.gradle.plugins.r3Publish')
|
pluginManager.apply('com.r3.internal.gradle.plugins.r3Publish')
|
||||||
|
afterEvaluate {
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
configureEach {
|
||||||
|
def repo = "https://github.com/corda/corda"
|
||||||
|
pom {
|
||||||
|
description = project.description
|
||||||
|
name = project.name
|
||||||
|
url = repo
|
||||||
|
scm {
|
||||||
|
url = repo
|
||||||
|
}
|
||||||
|
licenses {
|
||||||
|
license {
|
||||||
|
name = 'Apache-2.0'
|
||||||
|
url = 'https://www.apache.org/licenses/LICENSE-2.0'
|
||||||
|
distribution = 'repo'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id = 'R3'
|
||||||
|
name = 'R3'
|
||||||
|
email = 'dev@corda.net'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
logger.info("External user - using standard maven publishing")
|
logger.info("External user - using standard maven publishing")
|
||||||
pluginManager.apply('maven-publish')
|
pluginManager.apply('maven-publish')
|
||||||
|
@ -47,6 +47,7 @@ publishing {
|
|||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
artifactId 'corda-confidential-identities'
|
artifactId 'corda-confidential-identities'
|
||||||
from components.cordapp
|
from components.cordapp
|
||||||
|
artifact javadocJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,6 +64,7 @@ publishing {
|
|||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
artifactId 'corda-finance-contracts'
|
artifactId 'corda-finance-contracts'
|
||||||
from components.cordapp
|
from components.cordapp
|
||||||
|
artifact javadocJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -93,6 +93,7 @@ publishing {
|
|||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
artifactId 'corda-finance-workflows'
|
artifactId 'corda-finance-workflows'
|
||||||
from components.cordapp
|
from components.cordapp
|
||||||
|
artifact javadocJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user