There is addNative method which creates javah, cc, and link tasks for each compile target. This is used for many native libraries in the build glass, prism etc.
How should I use this function if my library is android specific e.q. i don't want to build it on linux. It throws NPE when I specifi more than one compile targets COMPILE_TARGETS=android,linux because there's not such property for linux it has been set only in android.gradle script.
Is it necessary to have this concept of multiple targets? It complicates build a lot.
How should I use this function if my library is android specific e.q. i don't want to build it on linux. It throws NPE when I specifi more than one compile targets COMPILE_TARGETS=android,linux because there's not such property for linux it has been set only in android.gradle script.
Is it necessary to have this concept of multiple targets? It complicates build a lot.