cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <bows...@gmail.com>
Subject Re: Using Gradle in an Apache Project
Date Wed, 18 Jun 2014 15:45:30 GMT
The Android Dev Tools generate a gradle project by default.  Where
does it store gradle-wrapper?

On Wed, Jun 18, 2014 at 7:59 AM, Josh Soref <jsoref@blackberry.com> wrote:
> Ian Clelland wrote:
>>But Gradle is a Java project, and so the script invokes Java, and makes
>>use
>>of a bundled .jar file, and therein lies the problem: We're not supposed
>>to
>>be including compiled JAR files in our repository.
>>
>>In this case, the .jar isn't actually part of our code; it's just used by
>>the build, and including it makes it closer to trivial for developers to
>>start building Cordova projects. It's easy to recreate, too, once you have
>>Gradle installed, it's as easy as running "gradle wrapper" to get it to
>>rebuild the wrapper, jar and all. The catch is that you already have to
>>have gradle installed for that to work. Egg, meet chicken.
>
> Can we cheat and just have a script that uses curl/wget to retrieve Gradle
> from Apache's dist directory?
>
> Or, could we publish Gradle to npm and then have our thing depend on
> cordova-gradle ?
>

Mime
View raw message