diff --git a/samples/network-visualiser/build.gradle b/samples/network-visualiser/build.gradle index b5b20986d6..b986143d26 100644 --- a/samples/network-visualiser/build.gradle +++ b/samples/network-visualiser/build.gradle @@ -10,6 +10,16 @@ buildscript { } } +// Spring Boot plugin adds a numerous hardcoded dependencies in the version much lower then Corda expects +// causing the problems in runtime. Those can be changed by manipulating above properties +// See https://github.com/spring-gradle-plugins/dependency-management-plugin/blob/master/README.md#changing-the-value-of-a-version-property +// unfortunately, this has to be repeated in every file using the spring boot plug-in as otherwise change in the order +// in which files are a processed changes the outcome of the processing (dependencies are listed after plug-ins, so the +// configuration of a dependency does not necessarily affect the plug-in application) +ext['artemis.version'] = "$artemis_version" +ext['hibernate.version'] = "$hibernate_version" + + apply plugin: 'java' apply plugin: 'kotlin' apply plugin: 'idea' @@ -21,6 +31,7 @@ apply plugin: 'us.kirchmeier.capsule' // Spring Boot plugin have to be reimported, however it picks up the settings from irs-demo, so there is no need to // reconfigure + // Warning: The network visualiser is not a Cordapp so please do not use it as an example of how // to build a cordapp