Hi Team, Is there a way to download the transitiv...
# community-support
a
Hi Team, Is there a way to download the transitive dependencies of dependencies that I download using artifact metadata source? Example:
Copy code
repositories {
    // This repo is needed because some of the dependencies has incorrect metadata
    maven {
        url = uri("<https://xxxxxx>")
        metadataSources {
            artifact() // Look directly for artifact instead of metadata file
        }
        content {
            includeGroupByRegex("com.my.example.*")
        }
    }
}
And I want to download dependencies of any dependency with group:
<http://com.my|com.my>.example.*
. The reason I am using artifact metadata source is because the metadata file of these dependencies has incorrect version
v
As I said in your other thread, not really, except maybe by manually downloading the metadata file and parsing it for the declared dependencies. The dependencies are listed in the metadata file and if you ignore the metadata file, well, Gradle cannot know which dependencies are needed.
a
Make sense! yea sorry didn’t see the message on the other thread! Thanks again @Vampire
👌 1