Custom Ivy resolver


(Saber Seddik) #1

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.


(Dimitar Dimitrov) #2

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


(Saber Seddik) #3

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


(Saber Seddik) #4

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