Don't start Corda webserver if no webAddress has been defined for a node (#1434)

Don't start Corda webserver if no webAddress has been defined for a node
This commit is contained in:
Maksymilian Pawlak 2017-09-08 15:25:20 +01:00 committed by GitHub
parent 8aaac437c0
commit 069e31d006
3 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
gradlePluginsVersion=0.16.1
gradlePluginsVersion=0.16.2
kotlinVersion=1.1.4
guavaVersion=21.0
bouncycastleVersion=1.57

View File

@ -10,6 +10,11 @@ the rest of the Corda libraries.
currently known solution (such as publishing from buildSrc or setting up a separate project/repo) would
introduce a two step build which is less convenient.
Version number
--------------
To modify the version number edit constants.properties in root dir
Installing
----------

View File

@ -101,7 +101,9 @@ class Node extends CordformNode {
protected void build() {
configureRpcUsers()
installCordaJar()
installWebserverJar()
if (config.hasPath("webAddress")) {
installWebserverJar()
}
installBuiltPlugin()
installCordapps()
installConfig()