cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikhi...@apache.org
Subject [1/2] android commit: CB-10386 Add android.useDeprecatedNdk=true to support NDK in gradle
Date Tue, 19 Jan 2016 20:07:00 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master 11760afdd -> ada35e0e0


CB-10386 Add android.useDeprecatedNdk=true to support NDK in gradle


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/fc778006
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/fc778006
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/fc778006

Branch: refs/heads/master
Commit: fc778006effd47909f4e019bbac2b5b734de3df4
Parents: 11760af
Author: Nikhil Khandelwal <nikhilkh@microsoft.com>
Authored: Tue Jan 19 11:16:04 2016 -0800
Committer: Nikhil Khandelwal <nikhilkh@microsoft.com>
Committed: Tue Jan 19 11:36:39 2016 -0800

----------------------------------------------------------------------
 bin/templates/cordova/lib/builders/GradleBuilder.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/fc778006/bin/templates/cordova/lib/builders/GradleBuilder.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/lib/builders/GradleBuilder.js b/bin/templates/cordova/lib/builders/GradleBuilder.js
index 8dea4bf..0593f9b 100644
--- a/bin/templates/cordova/lib/builders/GradleBuilder.js
+++ b/bin/templates/cordova/lib/builders/GradleBuilder.js
@@ -56,6 +56,8 @@ GradleBuilder.prototype.getArgs = function(cmd, opts) {
 
     // 10 seconds -> 6 seconds
     args.push('-Dorg.gradle.daemon=true');
+    // allow NDK to be used - required by Gradle 1.5 plugin
+    args.push('-Pandroid.useDeprecatedNdk=true');
     args.push.apply(args, opts.extraArgs);
     // Shaves another 100ms, but produces a "try at own risk" warning. Not worth it (yet):
     // args.push('-Dorg.gradle.parallel=true');


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


Mime
View raw message