mirror of
https://github.com/corda/corda.git
synced 2025-06-01 15:10:54 +00:00
Fixed whitespace issue and documentation.
This commit is contained in:
parent
1e025bded2
commit
94166484ca
@ -2,7 +2,6 @@ package net.corda.plugins
|
|||||||
|
|
||||||
import com.typesafe.config.*
|
import com.typesafe.config.*
|
||||||
import org.gradle.api.Project
|
import org.gradle.api.Project
|
||||||
|
|
||||||
import java.nio.charset.StandardCharsets
|
import java.nio.charset.StandardCharsets
|
||||||
import java.nio.file.Files
|
import java.nio.file.Files
|
||||||
|
|
||||||
@ -29,8 +28,8 @@ class Node {
|
|||||||
*/
|
*/
|
||||||
protected List<String> cordapps = []
|
protected List<String> cordapps = []
|
||||||
/**
|
/**
|
||||||
* Set the configuration closure list that create the RPC users for this node. This configuration block allows
|
* Set the RPC users for this node. This configuration block allows arbitrary configuration.
|
||||||
* arbitrary configuration. The recommended current structure is:
|
* The recommended current structure is:
|
||||||
* [[['user': "username_here", 'password': "password_here", 'permissions': ["permissions_here"]]]
|
* [[['user': "username_here", 'password': "password_here", 'permissions': ["permissions_here"]]]
|
||||||
* The above is a list to a map of keys to values using Groovy map and list shorthands.
|
* The above is a list to a map of keys to values using Groovy map and list shorthands.
|
||||||
*
|
*
|
||||||
@ -234,7 +233,7 @@ class Node {
|
|||||||
throw new RuntimeException("No Corda Capsule JAR found. Have you deployed the Corda project to Maven? Looked for \"corda-${project.corda_version}.jar\"")
|
throw new RuntimeException("No Corda Capsule JAR found. Have you deployed the Corda project to Maven? Looked for \"corda-${project.corda_version}.jar\"")
|
||||||
} else {
|
} else {
|
||||||
def cordaJar = maybeCordaJAR.getSingleFile()
|
def cordaJar = maybeCordaJAR.getSingleFile()
|
||||||
assert (cordaJar.isFile())
|
assert(cordaJar.isFile())
|
||||||
return cordaJar
|
return cordaJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user