From 47860c4d7d5195bea1fa5a82eecbf35217fcf2ac Mon Sep 17 00:00:00 2001 From: brharrington Date: Mon, 9 Jan 2023 16:56:07 -0600 Subject: [PATCH] make spark deps compileOnly (#1024) This should avoid changing the spark version used if someone is pulling this in with maven or gradle. --- spectator-ext-spark/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spectator-ext-spark/build.gradle b/spectator-ext-spark/build.gradle index df13f958f..b0b7c0a58 100644 --- a/spectator-ext-spark/build.gradle +++ b/spectator-ext-spark/build.gradle @@ -8,8 +8,10 @@ dependencies { implementation project(':spectator-ext-jvm') implementation project(':spectator-reg-sidecar') implementation "com.typesafe:config" - implementation 'io.dropwizard.metrics:metrics-core:3.1.5' - implementation 'org.apache.spark:spark-core_2.11:2.4.4' + compileOnly 'io.dropwizard.metrics:metrics-core:3.1.5' + compileOnly 'org.apache.spark:spark-core_2.11:2.4.4' + testImplementation 'io.dropwizard.metrics:metrics-core:3.1.5' + testImplementation 'org.apache.spark:spark-core_2.11:2.4.4' } jar {