cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fujunwei (JIRA)" <>
Subject [jira] [Commented] (CB-3445) Move Cordova-Android Build Setup to Gradle
Date Mon, 03 Nov 2014 07:29:35 GMT


fujunwei commented on CB-3445:

The Crosswalk was built into AAR format in Maven repository (
We don't want to make the Crosswalk-cordova-engine to library project, Because it must add
extra project files such as AndroidManifest.xml. So I request a PR (
) to cordova-lib, it will reference the Gradle script in plugin to build-extras.gradle which
host in root project. 

We only add a xwalk.gradle file in plugin.
repositories {
       maven {
              url ''
dependencies {
         compile 'org.xwalk:xwalk_core_library_beta:'

And add a type of framework named "graldeReference":
<framework src="libs/xwalk_core_library/xwalk.gradle" custom="true" type="gradleReference">

Could you give some comments on this PR?

> Move Cordova-Android Build Setup to Gradle
> ------------------------------------------
>                 Key: CB-3445
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Joe Bowser
>            Assignee: Ian Clelland
>            Priority: Minor
> Currently we're using ant for our setup, and our setup can break every time that the
Android SDK updates and change its build.xml.  However, the Android Team has created Gradle
to be more robust such that it doesn't have the same problems as ant-based scripts.
> This also has the advantage of using Android Studio for development instead of Eclipse,
and the ability for us to bundle resources, which is something we haven't been able to do
> Moving to Gradle has numerous advantages, but will break scripts, so this is to be moved
in the post-3.0 timeframe.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message