Questions tagged [transitive-dependency]

A transitive dependency refers to a code path or datasource which has an indirect dependency, such as an object, function, record, or file.

A transitive dependency requires implicit code or data to exist as a prerequisite to access itself.

References

238 questions
1
vote
1 answer

Unable to get transitive dependencies of my library in my Android app

I created an Android Library in Android studio, which has some external dependencies(Retrofit, for example). But when i tried to use this Library in an Android app, The app doesn't include the transitive dependencies(the ones included in the…
1
vote
0 answers

Program type already present: tv.danmaku.ijk.media.player.AbstractMediaPlayer

I have defined below gradles in my app.gradle implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8' implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8' and also defined same in one of the module integrated. When I try to run the…
Vir Rajpurohit
  • 1,869
  • 1
  • 10
  • 23
1
vote
0 answers

AbstractMethod error on javax.ws.rs.core.UriBuilder

I have a Maven project, that expose a REST service, which is composed by multiple modules and i'm upgrade it from Jersey 1.x (com.sun.jersey) to Jersey 2.x (org.glasshfish). I removed all Jersey 1 dependencies (transitive dependencies too),…
1
vote
1 answer

How to specify which instance of an already loaded side-by-side assembly to use

I am creating a dll (A.dll), which is isolated (ISOLATION_AWARE_ENABLED), depends on dependency.dll and has a manifest file:
wolff
  • 426
  • 4
  • 11
1
vote
0 answers

Why isn't maven including a needed transitive dependency?

I am converting our Jenkins Freestyle build to Declarative Pipeline mode. I am using the same POM files. But whenever i run the pipeline build, i see that the desired war is missing a transitive dependency. The Freestyle build includes that missing…
Micky
  • 21
  • 1
  • 5
1
vote
0 answers

How to I make a nuget package referenced by the nuget package I'm creating get installed as a top-level packagereference?

I'm creating a nuget package that uses refit as a dependency and when consuming the produced package I need to ensure refit gets installed as a top level package in the consuming project instead of a transitive reference. I'm using the new csproj…
JohnB
  • 117
  • 1
  • 5
1
vote
1 answer

What is the good strategy to maintain Maven transitive dependency satisfied

I recently encountered a difficulty to find back a transitively dependent Maven artifact when building our product, which triggered me to think what is the correct strategy to deal with the situation. In my product building CI, I need to use a…
John Zhang
  • 1,043
  • 2
  • 13
  • 22
1
vote
1 answer

How to exclude transitive dependencies with scope provided with maven-assembly-plugin?

I need to create a jar-with-dependencies. I'm using maven assemply plugin 3.1.0. I want to: include dependencies with scope compile and that, transitively exclude dependencies with scope provided. IE, in the following case as shown by mvn…
fanf42
  • 1,828
  • 15
  • 22
1
vote
0 answers

Android aar file with dependencies

Currently I need to build an Android library .aar file. In the library have network request so that I have to add Retrofit as library's dependencies. My library build.gradle file look like: dependencies { compile…
Ngo Van
  • 857
  • 1
  • 21
  • 37
1
vote
1 answer

Is there a way to include a specific module from a group while excluding rest in gradle?

I am using a library which has a transitive dependency on a module lets assume "abc.xyz:abc-module:1.1.1", the problem is, however, all of the modules from that group are excluded in my build.gradle for some reason using configurations { …
1
vote
0 answers

Files in local Maven repository not found by "gradle build"

I'm using Gradle 2.7 and Maven 3.2.1 on 64-bit Windows 7 Setup: ProjectA depends on projectB and projectB resides in a local maven repository, C:\Users\Carlos\vagrant.m2\repository..[projectB .pom and .war files] Problem: While building project…
1
vote
0 answers

Spring Boot transitive dependency in multi project Gradle build

I am facing an issue in a multi-project Spring Boot gradle build. I have some common jars, and a base jar that extends the common jars. One such common jar uses Hazelcast 3.8.2. Now, I am expecting when I use that common project as a dependency to a…
sutanu dalui
  • 663
  • 7
  • 25
1
vote
0 answers

gradle multi project - dependencies not working

I have 2 projects, Project A and Project B. both are gradle projects in separate git repositories. Project B uses elasticsearch-rest-api jar and is included in dependencies as follows: dependencies { compile…
1
vote
1 answer

CMake package configuration files for upstream projects using Qt5 problems

I am working on a larger C++ library that is using CMake and depends on Qt. We moved from Qt4 to Qt5 and now I encounter a problem when using our lib in an upstream project. As a minimal working example demonstrating the problem please have a look…
philt
  • 13
  • 1
  • 3
1
vote
1 answer

Different versions in transitive dependencies in Gradle

In my project I am forced to use these packages: com.sparkjava:spark-core:2.3, which ends up using jetty-server:9.3.2.v20150730 org.apache.spark:spark-core_2.10:1.2.0, which ends up using jetty-server:8.1.14.v20131031 Note that com.sparkjava and…
Marc
  • 356
  • 1
  • 8