Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.android.build.gradle.tasks.PackageApplication

apply plugin: 'android'
apply from: 'signing.gradle'

Expand Down Expand Up @@ -44,17 +42,3 @@ dependencies {
compile 'com.android.support:appcompat-v7:21.0.0'
compile fileTree(dir: 'libs', include: ['*.jar'])
}

task copyNativeLibs(type: Copy) {
from(new File(getProjectDir(), 'native-libs')) { include '**/*.so' }
into new File(buildDir, 'native-libs')
}

tasks.withType(Compile) { compileTask -> compileTask.dependsOn copyNativeLibs }

clean.dependsOn 'cleanCopyNativeLibs'

tasks.withType(PackageApplication) { pkgTask ->
pkgTask.jniFolders = new HashSet<File>()
pkgTask.jniFolders.add(new File(buildDir, 'native-libs'))
}
File renamed without changes.