https://kotlinlang.org logo
#gradle
Title
# gradle
a

Alexander Zhirkevich

03/10/2024, 10:16 PM
I have a module A that depends on the artifact published in mavenLocal. Also i have a module B that doesn't depends either on module A or on artifact from mavenLocal. I need to build module B on CI. But
./gradlew B:assebmle --continue --dependency-verification off
fails with unresolved dependency error. Why Gradle tries to resolve dependency for the module that is not required for the requested task? Can i disable it in any other way than excluding A from the project?
not kotlin but kotlin colored 1
v

Vampire

03/10/2024, 10:27 PM
Please always consider channel and server topics in open communities, then you will find that your question is off-topic and where to ask instead. 😉