The only way to do this right now would be with something like this:
import com.android.build.gradle.tasks.NdkCompile
project.tasks.withType(NdkCompile).all { task ->
task.enabled = false
}
I'll add the task to the variant API to be able to access it more easily.
On Tue, Jan 14, 2014 at 4:16 AM, <[email protected]> wrote:
> Hi.
> Is there any way to remove from execution compileNDK task because it
> breaks the build? I have custom ndk build task that uses the same folders
> as compileNDK task.
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com
Please do not send me questions directly. Thanks!
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.