Custom Ivy resolver

Where I work we have a huge ivy repository that is stored in a file system (distributed across multiple regions).
How can I make gradle support that repository?

I’m thinking about creating a custom Resolver and artifact repository components and inject them to Gradle.

Hi Saber, what stops you from using the existing ivy repository support?

I’m not able to make it works so I thought that it’s related to non standard ivy structure:
working sample:

Actually i found out the issue was my dependency in the form:
compile (‘myorg.campaign:schema:3.0+:runtime’) the last part is the classifier not the configuration.
change it to compile group: ‘someOrganization’, name: ‘someModule’, version: ‘1.x’, configuration: ‘runtime’
resolved my isue

1 Like