dependency-management Questions

2

Solved

I have a non-standard project layout. How can I use Gradle to just download a bunch of JAR dependencies into a lib directory, under the same directory where build.gradle is? For now, I don't need ...
Cacuminal asked 4/9, 2015 at 16:21

22

Solved

I have tried to add my local .jar file dependency to my build.gradle file: apply plugin: 'java' sourceSets { main { java { srcDir 'src/model' } } } dependencies { runtime files('libs/mnist-...
Avaavadavat asked 20/12, 2013 at 9:14

3

I have a complex transitive dependency tree in my software. The versions of these dependencies are managed by (transitive) dependency management blocks. The effective version of one dependency is i...
Guizot asked 7/7, 2016 at 12:43

2

Solved

I'm trying to switch to using Kotlin DSL to get dependencies versions from an object Kotlin file instead of gradle files. When I do a gradle sync it is unable to resolve reference, but I'm able to ...

1

I am looking to add the possibility to add the possibility of using my crate without the standard library. Some of the core functionality does depend on floating-point functions, which in no-std mo...
Newburg asked 13/5, 2020 at 7:50

2

Solved

Recently I was in a pretty much trouble with a dependency hell problem in Java. Are there any proper set of procedures to avoid it in future?
Inordinate asked 29/6, 2016 at 9:14

3

I have spent days now trying to figure out a dependency issue I'm experiencing with (Py)Spark running on Kubernetes. I'm using the spark-on-k8s-operator and Spark's Google Cloud connector. When I t...
Reciprocate asked 18/6, 2020 at 11:23

1

Solved

I'm working on a Java Jersey application. In my pom.xml file, I've included certain Maven dependencies that have critical vulnerabilities. Even after upgrading to the latest versions, some of these...

7

I wanted to find unused dependencies in my project. Is there a feature for this in Gradle, like in Maven?
Balkanize asked 15/10, 2013 at 10:57

3

Solved

I have project A and project B. They may be in different programming languages. Project A exposes an API using proto files, which project B will use to then generate the API in the programming lang...
Coffin asked 16/5, 2019 at 9:10

12

Solved

I think some module in spring-boot-starter-security is conflict with log4j, but I don't know which one. my gradle dependence is as following: compile("org.springframework.boot:spring-boot-starter...

4

I know that Gradle has the excellent dependencies task that lists out all dependencies for a project. However, it returns them in a tree listing. I would like to get a list of all my dependencies ...
Nitrometer asked 6/1, 2016 at 19:54

2

Solved

I'm having an issue installing dependencies into my Poetry project. If I run poetry new (as described in https://python-poetry.org/docs/basic-usage/), I can create a new project: $ poetry new scipy...

26

Solved

How can I tell Gradle to redownload dependencies from repositories?
Gossipmonger asked 26/11, 2012 at 12:42

1

CMake FetchContent is a great way to manage build dependencies, by integration the dependency into your build and build it from source along with your own sources. I would like to do this with Boos...
Homeric asked 10/7, 2021 at 15:1

7

Solved

I see more and more commands like this: $ pip install "splinter[django]" What do these square brackets do?
Cp asked 16/10, 2017 at 16:55

8

Suppose I'm writing a library A, that depends on another library, monolog for instance. I want to install the latest version of monolog, so I just put this inside composer.json: { "require": { ...
Immaterial asked 21/5, 2012 at 11:38

9

Solved

One of the dependencies declared in my project has a transitive dependency on 'com.google.guava:guava:15.0'. But my application deployed on WAS/Weblogic doesn't work due to a CDI issue which has be...
Vargo asked 9/6, 2015 at 9:44

9

Solved

How do I combine constructor injection with "manual" constructor parameters? ie. public class SomeObject { public SomeObject(IService service, float someValue) { } } Where IService should be ...
Leroylerwick asked 4/8, 2011 at 3:29

4

I have a maven project which I have say spring framework libraries as dependencies, I want to copy spring framework dependencies with there transitive dependencies to a location specified. I have ...
Yearling asked 15/10, 2013 at 11:3

5

Solved

In my application I would like to use: packageA, which requires packageX==1.3 packageB, which requires packageX==1.4 packageX==1.5 How can I install multiple versions of packageX with pip to ha...
Nozzle asked 4/7, 2011 at 11:7

3

Solved

I have two dependencies in my project. go.mod: module github.com/test-org/test-repo go 1.12 require ( github.com/foo/bar v1.0.0 github.com/raz/mataz v1.0.0 ) After running go mod download...
Decaliter asked 16/9, 2019 at 7:44

5

Solved

I am currently working on a larger scale Maven-based project in IntelliJIdea 12.1.6 Ultimate. I have been working with IntelliJIdea since about 5 months. An included module has dependencies on ano...
Claresta asked 24/10, 2013 at 13:59

0

You can install the python package Jax with some extra packages depending on your environment. For GPU: pip install jax[cuda] --find-links https://storage.googleapis.com/jax-releases/jax_cuda_relea...
Hanyang asked 21/3, 2023 at 13:54

4

Below shows the hierarchy of my POMs. You can see that we have a company parent-pom for spring boot projects. This POM has spring-boot-starter as it's parent, and it imports our own dependency-man...
Lyublin asked 4/5, 2018 at 22:42

© 2022 - 2025 — McMap. All rights reserved.