Hi, when calling `./gradlew build` on a project w...
# community-support
m
Hi, when calling
./gradlew build
on a project with lockfiles I get the following error:
* What went wrong:
Could not determine the dependencies of task ‘gcs clienttest’.
> Could not resolve all task dependencies for configuration ‘gcs clienttestRuntimeClasspath’.
> Resolved ‘com.google.guavalistenablefuture9999.0-empty-to-avoid-conflict-with-guava’ which is not part of the dependency lock state
I tried adding the following to the
build.gradle
:
Copy code
testImplementation("com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava")
and also
Copy code
testRuntimeClasspath("com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava")
and then resolve and lock all, and try to run
build
again but still fails. The thing is, that this is a subproject, and while this dependency is not added to its lockfile, it is added to other subprojects. Any idea why this is not added to this subproject lockfile? If I add it manually to the lockfile, it works and then fail on another subproject