Questions tagged [dependency-resolution]

Dependency resolution is the process of resolving declared/required dependencies and any potential transitive dependency through the concerned dependencies graph, for instance during a build of a software product.

Dependency resolution is the process of resolving declared/required dependencies and any potential transitive dependency through the concerned dependencies graph, for instance during a build of a software product.

Well known build tools like , or make use of dependencies and handle dependencies resolution as part of their core mechanisms.

More Info

41 questions
0
votes
0 answers

tsc resolves types from a different package version

We have a monorepo using pnpm workspace, and multiple services are using the graphql package, with different versions. Trying to compile one service using tsc --explainFiles, I get…
0
votes
0 answers

build.sbt unable to resolve dependency

I am facing one issue, where one internal dependency is not getting resolve. The thing is i am not even adding that particular dependency in my build.sbt file. Still it is getting refered at the time of build process & failing. I also removed all…
0
votes
0 answers

Override sub dependency with yarn

My project includes dependency X which in turn has subdependency Y. When I use yarn to start my project I get the error 'Module not found: Can't resolve subdependency Y'. However, I have another dependency called dependency Z which is a newer…
0
votes
1 answer

Android Gradle - transitive dependencies take precedence (upgrade) the declared (first-level) one

What I have in my build.gradle: implementation "androidx.recyclerview:recyclerview:1.1.0" implementation 'com.github.kirich1409:viewbindingpropertydelegate-noreflection:1.5.6' The latter dependency has its own RecyclerView transitive…
0
votes
1 answer

Why do test scope dependencies pull compile scope dependencies in Maven?

Currently my project uses spring boot starter test as so: org.springframework.boot spring-boot-starter-test 2.3.8.RELEASE
0
votes
1 answer

Maven resolves only the first dependencyManagement import

I have the following within a project using Maven 3.2.2 on CentOS: common.maven dm-bom
hublo
  • 1,010
  • 2
  • 12
  • 33
0
votes
2 answers

How to fix dependency resolution errors?

I'm developing a game in libgdx and I'm using an external jar to work with JSON, and I know libgdx has it's own but I've worked with this jar before and I know how to use it. Anyways I added it to my build.gradle in my root directory and synced. But…
Dani007
  • 141
  • 1
  • 8
0
votes
0 answers

In apache maven, how to force add omitted dependency jars?

Maven has the lame dependency conflict resolving rule of 'the closer the better': if 2 versions exists for a library, only the one closest to the trunk of the transitive dependency tree will be kept, the others will be dropped from classpath. This…
tribbloid
  • 4,026
  • 14
  • 64
  • 103
0
votes
0 answers

conda create R environment

How can I create afresh conda environment with R support and RStudio? The code below fails to work for me: conda create -n datascience-r rstudio Collecting package metadata (current_repodata.json): done Solving environment: failed with…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
0
votes
1 answer

How to configure a custom maven repository in Grails 2.2?

I am trying to get dependency resolution to work in Grails 2.2 from a custom repository which has username password. I have tried adding the following in my BuildConfig.groovy grails.project.dependency.resolver =…
Aseem Bansal
  • 6,722
  • 13
  • 46
  • 84
0
votes
1 answer

Dependency resolution for classes with same package structure in Gradle

Say I have a project ProjectA with a compile dependency on core. And core depends on deepcore. Thus, ProjectA has a transitive dependency on deepcore. So, build script for ProjectA has this dependencies { compile…
Arif Hossain
  • 606
  • 6
  • 9
1 2
3