Matan Sabag
06/13/2023, 3:18 PM./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 stateI tried adding the following to the
build.gradle :
testImplementation("com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava")
and also
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