From 10cfa21a68d5eac3c77e9c86d1f1e67a50abdcbf Mon Sep 17 00:00:00 2001
From: Martijn van Groningen <martijn.v.groningen@gmail.com>
Date: Thu, 22 Feb 2018 15:03:33 +0100
Subject: [PATCH] required changes after merge master branch into ccr branch.

---
 x-pack/plugin/ccr/build.gradle | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/x-pack/plugin/ccr/build.gradle b/x-pack/plugin/ccr/build.gradle
index c0199d85b45..2f23b72ca8e 100644
--- a/x-pack/plugin/ccr/build.gradle
+++ b/x-pack/plugin/ccr/build.gradle
@@ -36,10 +36,9 @@ check.dependsOn internalClusterTest
 internalClusterTest.mustRunAfter test
 
 dependencies {
-    provided "org.elasticsearch:elasticsearch:${version}"
-
-    provided "org.elasticsearch.plugin:x-pack-core:${version}"
-    testCompile project(path: ':x-pack-elasticsearch:plugin:core', configuration: 'testArtifacts')
+    compileOnly "org.elasticsearch:elasticsearch:${version}"
+    compileOnly "org.elasticsearch.plugin:x-pack-core:${version}"
+    testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
 }
 
 dependencyLicenses {