Review fixes for documentation and gitignore.

This commit is contained in:
Clinton Alexander 2016-10-10 13:49:03 +01:00
parent efb4629a44
commit 5d894138c2
4 changed files with 8 additions and 8 deletions

1
.gitignore vendored
View File

@ -6,7 +6,6 @@ tags
.DS_Store
*.orig
*.log
*.orig
# Created by .ignore support plugin (hsz.mobi)

View File

@ -126,22 +126,23 @@ In Gradle you can depend on these by adding/modifying your build.gradle file to
Gradle Plugins for Cordapps
===========================
There are several Cordapp plugins that reduce your build.gradle boilerplate and make development of Cordapps easier.
There are several Gradle plugins that reduce your build.gradle boilerplate and make development of Cordapps easier.
The available plugins are in the gradle-plugins directory of the Corda repository.
Building Gradle Plugins
-----------------------
To build the plugins that Cordapps require run the following from the root of the Corda project:
To install to your local Maven repository the plugins that Cordapp gradle files require, run the following from the
root of the Corda project:
.. code-block:: text
./gradlew publishToMavenLocal
The plugins will now be installed to MavenLocal.
The plugins will now be installed to your local Maven repository in ~/.m2 on Unix and %HOMEPATH%\.m2 on Windows.
Installing Gradle Plugins
-------------------------
Using Gradle Plugins
--------------------
To use the plugins, if you are not already using the Cordapp template project, you must modify your build.gradle. Add
the following segments to the relevant part of your build.gradle.

View File

@ -48,7 +48,7 @@ an example of this is in the template-cordapp and below is a three node example;
}
}
You can create more configurations by with new tasks that extend Cordform.
You can create more configurations with new tasks that extend Cordform.
New nodes can be added by simply adding another node block and giving it a different name, directory and ports. When you
run this task it will install the nodes to the directory specified and a script will be generated (for UNIX users only

View File

@ -30,7 +30,7 @@ class Cordform extends DefaultTask {
* Set the network map node.
*
* @warning Ensure the node name is one of the configured nodes.
* @param nodeName The name of one the node that will host the network map.
* @param nodeName The name of the node that will host the network map.
*/
public void networkMap(String nodeName) {
networkMapNodeName = nodeName