From 2f613409452a80e837e8f7b5845eb5c2e8b9fe69 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Thu, 8 Dec 2016 16:58:22 +0000 Subject: [PATCH] Fixed review comments. --- docs/source/publishing-corda.rst | 2 +- gradle-plugins/publish-utils/README.rst | 6 +++--- node/capsule/build.gradle | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/publishing-corda.rst b/docs/source/publishing-corda.rst index 2c07f1b598..ab04bcf3e9 100644 --- a/docs/source/publishing-corda.rst +++ b/docs/source/publishing-corda.rst @@ -69,7 +69,7 @@ Publishing `````````` 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" 4. Enter your Sonatype credentials to publish a new version diff --git a/gradle-plugins/publish-utils/README.rst b/gradle-plugins/publish-utils/README.rst index 3399688602..3ca1c2febf 100644 --- a/gradle-plugins/publish-utils/README.rst +++ b/gradle-plugins/publish-utils/README.rst @@ -68,16 +68,16 @@ Next you must setup the general bintray configuration you wish to use project wi **Publications** 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. -The project configuration block has the following structure; +The project configuration block has the following structure: .. code-block:: text publish { 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** diff --git a/node/capsule/build.gradle b/node/capsule/build.gradle index c8e64ba2e4..4598daecbd 100644 --- a/node/capsule/build.gradle +++ b/node/capsule/build.gradle @@ -48,7 +48,7 @@ dependencies { compile project(':node') } -task buildCordaJAR(type: FatCapsule, dependsOn: [':node:jar', 'buildCertSigningRequestUtilityJAR']) { +task buildCordaJAR(type: FatCapsule, dependsOn: ['buildCertSigningRequestUtilityJAR']) { applicationClass 'net.corda.node.MainKt' archiveName "corda-${corda_version}.jar" 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' archiveName 'certSigningRequestUtility.jar' capsuleManifest {