diff options
author | Andrew Comminos <andrewcomminos@gmail.com> | 2014-03-03 11:04:49 +0400 |
---|---|---|
committer | Andrew Comminos <andrewcomminos@gmail.com> | 2014-03-03 11:04:49 +0400 |
commit | 77ab9785cfd117c4b487897c186a214bbd7d845f (patch) | |
tree | aaf05a8e109df8f71aa88089848a1f8920c8e58f /build.gradle | |
parent | 0de6c4843e6616b37f12daf673abc59be1685020 (diff) |
WIP project structure change.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/build.gradle b/build.gradle index f6c7ece..c1ce9b2 100644 --- a/build.gradle +++ b/build.gradle @@ -47,23 +47,4 @@ android { minSdkVersion 9 targetSdkVersion 19 } -} - -/* - * JNI Hack for gradle - works alright, copies native libs over into build folder no problem - * https://gist.github.com/khernyo/4226923 - */ - -task copyNativeLibs(type: Copy) { - from(new File('libs')) { include '**/*.so' } - into new File(buildDir, 'native-libs') -} - -tasks.withType(Compile) { compileTask -> compileTask.dependsOn copyNativeLibs } - -clean.dependsOn 'cleanCopyNativeLibs' - -tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask -> - pkgTask.jniFolders = new HashSet<File>() - pkgTask.jniFolders.add(new File(buildDir, 'native-libs')) -} +}
\ No newline at end of file |