https://kotlinlang.org logo
#android
Title
# android
e

es0329

04/09/2019, 5:16 PM
@natansalda Maybe a transitive dependency; what’s the output of
./gradlew dependencies
?
n

natansalda

04/09/2019, 5:18 PM
just this:
Copy code
No configurations

A web-based, searchable dependency report is available by adding the --scan option.

BUILD SUCCESSFUL in 7s
1 actionable task: 1 executed
e

es0329

04/09/2019, 5:22 PM
🤔 try
./gradlew :app:dependencies
You’re hoping to see a tree of dependencies for the module in question.
n

natansalda

04/09/2019, 5:24 PM
still the same as above 🙂
and when I do this:
Copy code
gradle -q dependencies --configuration scm
then build fails
e

es0329

04/09/2019, 5:30 PM
What’s the problematic dependency; or are you able to share the
dependencies
block of your build.gradle?
n

natansalda

04/09/2019, 5:38 PM
not really, this is work project, can't share anything 😕
👍🏽 1
this is library from third party vendor, dependency itself is ok, the problem is that I had it all good, then some other team member added new library version to our project, then I did pull from master, I have all new code, except new version of library 🙂
d

Darryl

04/09/2019, 6:35 PM
What happens if you try
rm -rf ~/.gradle/caches
and build again?
n

natansalda

04/10/2019, 6:38 AM
thanks guys for help, I am not sure what happened but after few rebuilding it works 🙂
🎉 1
4 Views