Dependency verification failing for dependencies of external dependencies

Hi,

I’ve been running into an issue with the dependency verification feature I’m hoping someone can assist with. When I try to import my project into IntelliJ I’m getting an error that looks something like this:

Dependency verification failed for org.testng:testng:7.1.0
214 artifacts failed verification:
  - JavaEWAH-1.1.6-sources.jar (com.googlecode.javaewah:JavaEWAH:1.1.6) from repository Gradle 
    Central Plugin Repository
  - animal-sniffer-annotations-1.18-sources.jar (org.codehaus.mojo:animal-sniffer-annotations:1.18) 
    from repository Gradle Central Plugin Repository
  - ant-1.8.0-sources.jar (org.apache.ant:ant:1.8.0) from repository Gradle Central Plugin Repository
...

The odd part is that all of these dependencies (including testng) are included in my verification-metadata.xml file.

I’ve tried running the command:
./gradlew --write-verification-metadata sha256,sha1 help

and that doesn’t seem to fix the issue.

Any ideas what could be causing the problem?