cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8204) Gradle lint task exclusion broken on multi-apk builds
Date Mon, 22 Dec 2014 17:11:13 GMT
Ian Clelland created CB-8204:
--------------------------------

             Summary: Gradle lint task exclusion broken on multi-apk builds
                 Key: CB-8204
                 URL: https://issues.apache.org/jira/browse/CB-8204
             Project: Apache Cordova
          Issue Type: Bug
            Reporter: Ian Clelland


See https://github.com/apache/cordova-android/pull/138

The logic in build.js that excludes lint tasks expects that the environment variable BUILD_MULTIPLE_APKS
is set, but the actual build logic in gradle is defined by the variable `ext.multiarch`. When
the two do not agree, then tasks which do not exist are excluded by name, which breaks the
build.

Solving this for now by removing the lint-exclusions from build.js. Eventually, if we decide
we want them back, we can put that logic into build.gradle where it belongs.

(The exclusions were implemented originally as a compilation speedup, not for correctness)



--
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