cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <>
Subject Re: Using Gradle in an Apache Project
Date Wed, 18 Jun 2014 15:46:40 GMT
Actually, it's not by default, but it does generate a gradle project
if you use the right flags.  However, the project structure is
radically different that I'm not sure we want to adopt it.  Still, we
can find where the JAR is and copy it out of the Android SDK

On Wed, Jun 18, 2014 at 8:45 AM, Joe Bowser <> wrote:
> 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 <> wrote:
>> Ian Clelland wrote:
>>>But Gradle is a Java project, and so the script invokes Java, and makes
>>>of a bundled .jar file, and therein lies the problem: We're not supposed
>>>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 ?

View raw message