From ab3974ed60e3a1e472de00b431c45f47fd0b1352 Mon Sep 17 00:00:00 2001 From: Viktor Kolomeyko Date: Mon, 2 Jul 2018 17:08:55 +0100 Subject: [PATCH] Switch dependencies to rpcProxyCompile. (#1173) The problem manifests itself in IntelliJ when full rebuilt is performed with Gradle delegation. In this case IntelliJ executes the following tasks: `:testing:qa:behave:tools:rpc-proxy:classes`, `:testing:qa:behave:tools:rpc-proxy:testClasses`, `:testing:qa:behave:tools:rpc-proxy:smokeTestClasses` and `:testing:qa:behave:tools:rpc-proxy:rpcProxyClasses` Without the change when `rpcProxyClasses` task executed - the build fails. The problem is likely to be caused by the fact that this is a multi-sourceSets project. --- testing/qa/behave/tools/rpc-proxy/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/qa/behave/tools/rpc-proxy/build.gradle b/testing/qa/behave/tools/rpc-proxy/build.gradle index 6e4f9e54bd..a8efe6f27d 100644 --- a/testing/qa/behave/tools/rpc-proxy/build.gradle +++ b/testing/qa/behave/tools/rpc-proxy/build.gradle @@ -47,8 +47,8 @@ dependencies { compile project(':finance') compileOnly project(':node-api') - compile project(':core') - compile project(':client:rpc') + rpcProxyCompile project(':core') + rpcProxyCompile project(':client:rpc') // includes jetty/jersey dependencies used by RPCProxyServer compile project(':webserver')