title: How can I add .so files to an android library project using gradle 0.7+
body: <p>Project structure:</p>
  
  <p>App project --> depends on Library project</p>
  
  <p>Library Project 
  has a folder for the compiled jni libs</p>
  
  <pre><code>jniLibs.srcDirs = ['libs']
  </code></pre>
  
  <p>And I've tried adding the following to the android element of the build.gradle as per the example app <a href="https://android.googlesource.com/platform/tools/build/+/2e1f7810edd76d92cee8d3e06bc4dec0c288adea/tests/ndkSanAngeles/build.gradle">https://android.googlesource.com/platform/tools/build/+/2e1f7810edd76d92cee8d3e06bc4dec0c288adea/tests/ndkSanAngeles/build.gradle</a> however android library projects do not support productFlavours and as such the assemble fails with "Could not find method productFlavors() for arguments [dghdhd] on project"</p>
  
  <pre><code>productFlavors {
      x86 {
          ndk {
              abiFilter "x86"
          }
      }
      arm {
          ndk {
              abiFilters "armeabi-v7a", "armeabi"
          }
      }
  }
  </code></pre>
  
  <p>Is there a way to add ndk support to an android library project?</p>