cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Soref <>
Subject Re: Using Gradle in an Apache Project
Date Wed, 18 Jun 2014 14:59:04 GMT
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