From 069e31d0067e6cb23ffe016f7e46840cf4a90be7 Mon Sep 17 00:00:00 2001 From: Maksymilian Pawlak <120831+m4ksio@users.noreply.github.com> Date: Fri, 8 Sep 2017 15:25:20 +0100 Subject: [PATCH] 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 --- constants.properties | 2 +- gradle-plugins/README.rst | 5 +++++ .../src/main/groovy/net/corda/plugins/Node.groovy | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/constants.properties b/constants.properties index 68c33706ba..36e2e051b9 100644 --- a/constants.properties +++ b/constants.properties @@ -1,4 +1,4 @@ -gradlePluginsVersion=0.16.1 +gradlePluginsVersion=0.16.2 kotlinVersion=1.1.4 guavaVersion=21.0 bouncycastleVersion=1.57 diff --git a/gradle-plugins/README.rst b/gradle-plugins/README.rst index cf22310800..0ede7c216f 100644 --- a/gradle-plugins/README.rst +++ b/gradle-plugins/README.rst @@ -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 ---------- diff --git a/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy b/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy index c96a937fef..19e3a6b9b3 100644 --- a/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy +++ b/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy @@ -101,7 +101,9 @@ class Node extends CordformNode { protected void build() { configureRpcUsers() installCordaJar() - installWebserverJar() + if (config.hasPath("webAddress")) { + installWebserverJar() + } installBuiltPlugin() installCordapps() installConfig()