cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Mindus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9448) 'aaptOptions' does not work in Cordova Gradle building
Date Tue, 01 Dec 2015 10:53:11 GMT

    [ https://issues.apache.org/jira/browse/CB-9448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15033508#comment-15033508
] 

Christopher Mindus commented on CB-9448:
----------------------------------------

This is the way to make it work:

In platforms/android/build-extras.gradle, set e.g.:

ext.postBuildExtras = {
    android {
		aaptOptions {
			ignoreAssetsPattern "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
		}
    }
}

It would be very nice if the Cordova documentation could reflect this...

> 'aaptOptions' does not work in Cordova Gradle building
> ------------------------------------------------------
>
>                 Key: CB-9448
>                 URL: https://issues.apache.org/jira/browse/CB-9448
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 4.1.0
>         Environment: Windows
>            Reporter: Christopher Mindus
>            Assignee: Andrew Grieve
>
> The aaptOptions configuration for Gradle building does not work. It can be made to work
only with Ant (using another mechanism). The build-extras.gradle file does not help (in the
platforms/android) directory. The build.gradle file cannot be used. Environment variables
do not work either. In projects using e.g. the Dojo Framework that contains directory names
that start with an underscore "_" are all removed with any Gradle build, but can be made to
work in Ant build.
> There are some reports that can be found on "google" about this problem, and nobody has
apparently reported it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message