openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markusthoem...@apache.org
Subject [incubator-openwhisk] branch master updated: Exclude unused transitive dependencies. (#4110)
Date Thu, 15 Nov 2018 07:32:26 GMT
This is an automated email from the ASF dual-hosted git repository.

markusthoemmes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new b7542c9  Exclude unused transitive dependencies. (#4110)
b7542c9 is described below

commit b7542c9eff7748d756db0ef4888222def59f80ae
Author: Chetan Mehrotra <chetanm@apache.org>
AuthorDate: Thu Nov 15 13:02:20 2018 +0530

    Exclude unused transitive dependencies. (#4110)
    
    * Exclude Scala Compiler from dependencies
    * Remove test dependencies
---
 common/scala/build.gradle | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/common/scala/build.gradle b/common/scala/build.gradle
index 500e322..2e333c5 100644
--- a/common/scala/build.gradle
+++ b/common/scala/build.gradle
@@ -32,7 +32,10 @@ repositories {
 dependencies {
     compile "org.scala-lang:scala-library:${gradle.scala.version}"
 
-    compile 'com.github.pureconfig:pureconfig_2.12:0.9.0'
+    compile ('com.github.pureconfig:pureconfig_2.12:0.9.0') {
+        exclude group: 'org.scala-lang', module: 'scala-compiler'
+        exclude group: 'org.scala-lang', module: 'scala-reflect'
+    }
     compile 'io.spray:spray-json_2.12:1.3.5'
     compile 'com.lihaoyi:fastparse_2.12:1.0.0'
 
@@ -69,7 +72,9 @@ dependencies {
     //tracing support
     compile 'io.opentracing:opentracing-api:0.31.0'
     compile 'io.opentracing:opentracing-util:0.31.0'
-    compile 'io.opentracing.brave:brave-opentracing:0.31.0'
+    compile ('io.opentracing.brave:brave-opentracing:0.31.0'){
+        exclude group: 'io.zipkin.brave', module:'brave-tests'
+    }
     compile 'io.zipkin.reporter2:zipkin-sender-okhttp3:2.6.1'
     compile 'io.zipkin.reporter2:zipkin-reporter:2.6.1'
 


Mime
View raw message