I have a project with several utility classes. Let's name it Utils.
I have a proj1 which depends on Utils. And another proj2 that depends on proj1 and Utils.
The problem is if both proj1 and proj2 depend on different Utils version this will lead to…
I wonder what does "all*.exclude" mean in Gradle transitive dependency ?
configurations {
compile.exclude group: 'org.hamcrest', module: 'hamcrest-core'
all*.exclude group: 'org.mockito', module: 'mockito-all'
}
Is…
I recently learned that gradle has api/implementation "scopes" for dependencies, and I was trying to figure out if there's a maven equivalent of the implementation in gradle. None of the maven dependency scopes seem exactly right for this - provided…
I have a conflict with a transitive dependency. Overriding, excluding or forcing does not help. What else can I do to get the right version of the library into the jar?
The full code dan be. found…
Since version 3.0.0, the Android Gradle Plugin allows you to export a module's dependencies to other modules.
So in my android library module I should be able to declare a dependency using api and access THAT dependency as…
I have really struggled with the loading of logback-classic as a transitive dependency problem. I follow the advice found here on stackoverflow, but, it keeps re-occurring.
I use maven exclusions to try to try to control it, it does not appear at…
There are several questions about maven and transitive dependency exclusion. However, I don't get it working. I have some dependencies in my pom, that repackaged some libraries, in order to reduce the size of the pom. So far this is successful. But…
A problem that relates to basic maven concepts:
Once released I would like to have a guarantee that the project build is fully reproducible. So all project and plugin dependencies, including transitive one, should be always resolved the same way.…
Consider a very common situation when a project depends on 2 libraries, each transitively bringing a 3rd library of different versions:
Project A:
Library B:
Library D: version 1
Library C:
Library D: version 2
I can use…
mvn org.apache.maven.plugins:maven-dependency-plugin:3.0.2:tree -DoutputFile=/tmp/dependencies.txt -DoutputType=dot -DappendOutput=true
I'm using the above command to get a list of dependencies i.e the direct and transitive dependencies. I want an…
It seems, that in my Eclipse Oxygen 3 transitive dependencies are not resolved in Plugin-Projects. Consider the following Project with A depending solely on B, and B depending on C:
While running A in JDK 1.8 turns out fine (as expected), in JDK 9…
I recently learned that pip does not resolve transitive dependencies in any sane fashion. This means after installing a package, some of its dependencies' dependencies may not actually be satisfied.
Is there a way to programmatically check that all…
Let's say I'm writing a Scala library L that depends on some dependency D and is consumed by a program P and another program Q. P depends on version 3.2 of D directly while Q depends on version 3.3 directly.
Between those two versions D's API was…
I am running into a problem where I have the following 2 dependencies:
org.apache.felix » org.apache.felix.utils » 1.6.0
and
com.github.rotty3000 » phidias » 0.3.2
they both have transitive dependency on org.osgi.core, felix depends on version 4.1.0…