Fixed review comments.

This commit is contained in:
Clinton Alexander 2016-12-08 16:58:22 +00:00
parent 5b4babf329
commit 2f61340945
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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**

View File

@ -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 {