takimafr / androidkickstartr

AndroidKickstartR helps you to quickly create a well configured Android application using the most popular libraries. It creates and configures your project for you. Just focus on code!
http://androidkickstartr.com
Other
608 stars 116 forks source link

Add support for ivy #50

Open PerfectCarl opened 11 years ago

PerfectCarl commented 11 years ago

Ivy is a powerful lean jar dependency manager. It's supported by Eclipse and Intellij (via plugins).

a-thomas commented 11 years ago

It would be great to support it but I've never used Ivy. Feel free to contribute ;)

PerfectCarl commented 11 years ago

Ivy is very convenient. It lets you deal with external dependencies just by writing an xml file like this :

<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd" >
    <info
        module="your.app"
        organisation="yourcompany"
        status="integration" >
    </info>
    <configurations>
        <conf
            name="compile"
            visibility="public" />
    </configurations>
    <dependencies>
        <dependency
            name="gson"
            org="com.google.code.gson"
            rev="2.2.2" />
        <dependency
            name="acra"
            conf="compile->default"
            org="ch.acra"
            rev="4.4.0" />
        <dependency
            name="ormlite-android"
            conf="compile->default"
            org="com.j256.ormlite"
            rev="4.43" />
    </dependencies>
</ivy-module>

Ivy looks much saner than maven, and you can use the maven repositories Upgrading a dependency only takes to bump the version number in the xml.

Building your application from Eclipse is supported via ivyde which is almost stable (2.2beta crashes at times. The nightlies fix all the issues fortunately). I haven't tested building my app from the command line, but I'm confident that it is supported (ivy supports ant)

I'd be glad to contribute at some point but to be honest I'm swamped right now. And I don't foresee any improvement in the coming months.

Keep up the good work, Carl.