From c2b0ed6ed5b7f152f1f8281669f6df1670036790 Mon Sep 17 00:00:00 2001 From: Viktor Kolomeyko Date: Fri, 29 Sep 2017 13:43:42 +0100 Subject: [PATCH] CORDA-650: Eliminate unnecessary dependency on "graphstream" library (#1732) This library has one usage in ClientRPC example and: * Uses Scala 2.10 - which is quite dated * Has a transitive dependency on JUnit --- docs/source/example-code/build.gradle | 1 + node/build.gradle | 5 ----- samples/network-visualiser/build.gradle | 2 -- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/source/example-code/build.gradle b/docs/source/example-code/build.gradle index 46336ef9f0..cf0c3046e8 100644 --- a/docs/source/example-code/build.gradle +++ b/docs/source/example-code/build.gradle @@ -39,6 +39,7 @@ dependencies { compile "org.graphstream:gs-core:1.3" compile("org.graphstream:gs-ui:1.3") { exclude group: "bouncycastle" + exclude group: "junit" } cordaCompile project(path: ":node:capsule", configuration: 'runtimeArtifacts') diff --git a/node/build.gradle b/node/build.gradle index f793837c13..6a0c142c9f 100644 --- a/node/build.gradle +++ b/node/build.gradle @@ -108,11 +108,6 @@ dependencies { // Manifests: for reading stuff from the manifest file compile "com.jcabi:jcabi-manifests:1.1" - // GraphStream: For visualisation - testCompile "org.graphstream:gs-core:1.3" - testCompile("org.graphstream:gs-ui:1.3") { - exclude group: "bouncycastle" - } compile("com.intellij:forms_rt:7.0.3") { exclude group: "asm" } diff --git a/samples/network-visualiser/build.gradle b/samples/network-visualiser/build.gradle index d472b1e5b3..72ba1207c3 100644 --- a/samples/network-visualiser/build.gradle +++ b/samples/network-visualiser/build.gradle @@ -21,8 +21,6 @@ dependencies { // Cordapp dependencies // GraphStream: For visualisation compileOnly "co.paralleluniverse:capsule:$capsule_version" - compile "org.graphstream:gs-core:1.3" - compile "org.graphstream:gs-ui:1.3" } idea {