I haven't gotten any response, so posted to StackOverflow. Easier to read here: http://stackoverflow.com/questions/3428318/gradle-repository-ivy-maven-question
On Fri, Aug 6, 2010 at 11:25 AM, phil swenson <[email protected]> wrote: > My company is publishing external and internal jars and osgi bundles > to an Archiva repository. I am trying to do a gradle OSGi bundle > build against these, but I'm not sure how to reference these > repositories. > > It looks like for external dependencies they have a directory > structure like this: > http://archivaserver:8080/archiva/repository/osgi-official/org.mockito/org.mockito/ > > collection: /org.mockito/org.mockito > > org.mockito (Parent) > 1.8.5 > maven-metadata.xml > maven-metadata.xml.md5 > maven-metadata.xml.sha1 > > > for internal dependencies it looks like: > > url: > http://archivaserver:8080/archiva/repository/osgi-internal/mycompany/mycompany.blah.package/8.2.0.0000-0407/ > > Collection: /com.mycompany/com.mycompany.blah.package/8.2.0.0000-0407 > > com.mycompany/com.mycompany.blah.package (Parent) > com.mycompany.blah.package-8.2.0.0000-0407.jar > com.mycompany.blah.package-8.2.0.0000-0407.jar.md5 > com.mycompany.blah.package-8.2.0.0000-0407.jar.sha1 > com.mycompany.blah.package.feature-8.2.0.0000-0407.jar > com.mycompany.blah.package.feature-8.2.0.0000-0407.jar.md5 > com.mycompany.blah.package.feature-8.2.0.0000-0407.jar.sha1 > ivy-8.2.0.0000-0407.xml > ivy-8.2.0.0000-0407.xml.md5 > ivy-8.2.0.0000-0407.xml.sha1 > > > So I guess for external it supports maven, and internal it's ivy. So > my question is, how do I configure these repositories in Gradle? It's > not clear to me what to put in the "repositories{}" section of my > build.gradle/ > > > > Thanks ! > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
