android - Retrieve zipped dependency from ivy using gradle -


i'm starting moving android project gradle build system, , struggling dependencies. using ant , ivy before, , 1 particular problem keeps me going forward.

this have in ivy.xml:

<dependency org="com.my-org" name="my-dep" rev="1.0.+">     <artifact name="my-dep-sdk" type="jar" ext="zip" /> </dependency> 

as can see, zipped dependency. zip file contains jar , directory native libraries, both should unpacked in same directory. ivy works fine, can't reproduce same behavior gradle. ideas how approach this?

for direct download can try this:

ivy-setting.xml:

<?xml version="1.0"?> <ivysettings>     <settings defaultresolver="central"/>     <resolvers>         <chain name="central">             ...             <url name="google_download" m2compatible="true">                 <artifact pattern="[url]"/>             </url>         </chain>     </resolvers>  </ivysettings> 

ivy.xml:

 <ivy-module>          <dependencies>                 <dependency name="jdbf" rev="1.2" url="jar:https://jdbf.googlecode.com/files/jdbf-1.2-all.zip!/dist/jdbf-1.2.jar" />        </dependencies>      </ivy-module> 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -