From 1b332e2cb34c8d78ae100d2d1cf550b8d10cb31b Mon Sep 17 00:00:00 2001 From: Christian Sailer Date: Mon, 6 Nov 2017 14:34:09 +0000 Subject: [PATCH] Add extra version pinning for spring.boot gradle plug-in --- samples/network-visualiser/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/samples/network-visualiser/build.gradle b/samples/network-visualiser/build.gradle index b5b20986d6..9767030c79 100644 --- a/samples/network-visualiser/build.gradle +++ b/samples/network-visualiser/build.gradle @@ -10,6 +10,14 @@ 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 +// This has to be repeated here as otherwise the order of files does matter +ext['artemis.version'] = "$artemis_version" +ext['hibernate.version'] = "$hibernate_version" + + apply plugin: 'java' apply plugin: 'kotlin' apply plugin: 'idea'