mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 08:53:24 +08:00
CB-10386 Add android.useDeprecatedNdk=true to support NDK in gradle
This commit is contained in:
parent
11760afddd
commit
fc778006ef
@ -56,6 +56,8 @@ GradleBuilder.prototype.getArgs = function(cmd, opts) {
|
|||||||
|
|
||||||
// 10 seconds -> 6 seconds
|
// 10 seconds -> 6 seconds
|
||||||
args.push('-Dorg.gradle.daemon=true');
|
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);
|
args.push.apply(args, opts.extraArgs);
|
||||||
// Shaves another 100ms, but produces a "try at own risk" warning. Not worth it (yet):
|
// Shaves another 100ms, but produces a "try at own risk" warning. Not worth it (yet):
|
||||||
// args.push('-Dorg.gradle.parallel=true');
|
// args.push('-Dorg.gradle.parallel=true');
|
||||||
|
Loading…
Reference in New Issue
Block a user