Skip to content
Advertisement

Dependency can’t be found if gradle version is increased

We currently use gradle 5.6.4 version. After I upgrade the gradle version, above 6, I tried with 6.3 and 6.7.1, the following error occurs:

JavaScript

The dependency exists in “.gradle/caches/modules-2/files-2.1”. I also tried with –refresh-dependencies flag, but nothing works. Any ideas?

Advertisement

Answer

I had the same issue. Some solutions which worked for me:

  1. Adding new repositories
JavaScript
  1. Excluding a deprecated artifact (com.lowagie)
JavaScript

PS. Similar problem with itext library

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement