cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <bows...@gmail.com>
Subject Re: Early Gradle successes
Date Tue, 17 Jun 2014 23:19:14 GMT
I'm getting the following error:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

Searching for this error tells me that I need the GradleWrapper JAR
file.  I'm not sure where we'd get this file from, but it seems
required for this to work.

On Tue, Jun 17, 2014 at 2:39 PM, Ian Clelland <iclelland@chromium.org> wrote:
> ... and as Joe noticed, I managed to commit all of this locally, and push
> none of it.
>
> That's fixed; things should work better now.
>
> Ian
>
>
> On Tue, Jun 17, 2014 at 9:29 AM, Ian Clelland <iclelland@chromium.org>
> wrote:
>
>> I've been playing with Gradle builds for Cordova Android, and have managed
>> to put together an initial working build system, which I've committted in
>> the 4.0.x branch.
>>
>> If anyone wants to test it out, check out and build a project with that
>> branch. Then, from the platforms/android dir, just run
>>
>> ./gradlew build
>>
>> (You may have to set your JAVA_HOME directory; I usually just prefix the
>> command, and run it like
>>
>> JAVA_HOME=`/usr/libexec/java_home` ./gradlew build
>> )
>>
>> gradlew is a wrapper script, which on first run will download all of the
>> bits that are needed. Subsequent runs will be faster and not require
>> network access. Eventually this command would be the one run by the build
>> scripts.
>>
>> My next step is to get is to get it working with Crosswalk as well -- I
>> have it working locally (and assembling architecture-specific APKs!), but
>> it required some changes to the Crosswalk engine plugin before it would
>> build.
>>
>> If anyone wants to try it out, feedback is welcomed.
>>
>> Thanks,
>> Ian
>>

Mime
View raw message