mirror of
https://github.com/corda/corda.git
synced 2025-05-31 14:40:52 +00:00
Fixed review comments.
This commit is contained in:
parent
5b4babf329
commit
2f61340945
@ -69,7 +69,7 @@ Publishing
|
|||||||
``````````
|
``````````
|
||||||
|
|
||||||
1. Publish to Bintray
|
1. Publish to Bintray
|
||||||
2. Navigate to the project you wish to publist
|
2. Navigate to the project you wish to publish
|
||||||
3. Click "Maven Central"
|
3. Click "Maven Central"
|
||||||
4. Enter your Sonatype credentials to publish a new version
|
4. Enter your Sonatype credentials to publish a new version
|
||||||
|
|
||||||
|
@ -68,16 +68,16 @@ Next you must setup the general bintray configuration you wish to use project wi
|
|||||||
**Publications**
|
**Publications**
|
||||||
|
|
||||||
This plugin assumes, by default, that publications match the name of the project. This means, by default, you can
|
This plugin assumes, by default, that publications match the name of the project. This means, by default, you can
|
||||||
just list the names of the projects you wish to publish (eg; to publish `test:myapp` you need `publications = ['myapp']`.
|
just list the names of the projects you wish to publish (e.g. to publish `test:myapp` you need `publications = ['myapp']`.
|
||||||
If a project requires a different name you can configure it *per project* with the project configuration block.
|
If a project requires a different name you can configure it *per project* with the project configuration block.
|
||||||
|
|
||||||
The project configuration block has the following structure;
|
The project configuration block has the following structure:
|
||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
publish {
|
publish {
|
||||||
name = 'non-default-project-name'
|
name = 'non-default-project-name'
|
||||||
disableDefaultJar = false // set to true to disable the default JAR being created (eg; when creating a fat JAR)
|
disableDefaultJar = false // set to true to disable the default JAR being created (e.g. when creating a fat JAR)
|
||||||
}
|
}
|
||||||
|
|
||||||
**Artifacts**
|
**Artifacts**
|
||||||
|
@ -48,7 +48,7 @@ dependencies {
|
|||||||
compile project(':node')
|
compile project(':node')
|
||||||
}
|
}
|
||||||
|
|
||||||
task buildCordaJAR(type: FatCapsule, dependsOn: [':node:jar', 'buildCertSigningRequestUtilityJAR']) {
|
task buildCordaJAR(type: FatCapsule, dependsOn: ['buildCertSigningRequestUtilityJAR']) {
|
||||||
applicationClass 'net.corda.node.MainKt'
|
applicationClass 'net.corda.node.MainKt'
|
||||||
archiveName "corda-${corda_version}.jar"
|
archiveName "corda-${corda_version}.jar"
|
||||||
applicationSource = files(project.tasks.findByName('jar'), 'build/classes/main/CordaCaplet.class', 'config/dev/log4j2.xml')
|
applicationSource = files(project.tasks.findByName('jar'), 'build/classes/main/CordaCaplet.class', 'config/dev/log4j2.xml')
|
||||||
@ -61,7 +61,7 @@ task buildCordaJAR(type: FatCapsule, dependsOn: [':node:jar', 'buildCertSigningR
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task buildCertSigningRequestUtilityJAR(type: FatCapsule, dependsOn: [':node:jar']) {
|
task buildCertSigningRequestUtilityJAR(type: FatCapsule) {
|
||||||
applicationClass 'net.corda.node.utilities.certsigning.CertificateSignerKt'
|
applicationClass 'net.corda.node.utilities.certsigning.CertificateSignerKt'
|
||||||
archiveName 'certSigningRequestUtility.jar'
|
archiveName 'certSigningRequestUtility.jar'
|
||||||
capsuleManifest {
|
capsuleManifest {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user