Remove the "nativeLibsToJar" gradle task.

This commit is contained in:
Eder Bastos
2015-05-05 22:34:56 -04:00
parent 6414cdabb2
commit 2fe4b9ce68
2 changed files with 2 additions and 17 deletions

View File

@ -4,18 +4,6 @@ android {
compileSdkVersion 21
buildToolsVersion "20.0.0"
task nativeLibsToJar(type: Zip, description: 'create a jar archive of the native libs') {
destinationDir file("$buildDir/native-libs")
baseName 'native-libs'
extension 'jar'
from fileTree(dir: 'libs', include: '**/*.so')
into 'lib/'
}
tasks.withType(JavaCompile) {
compileTask -> compileTask.dependsOn(nativeLibsToJar)
}
lintOptions {
// This is important as it will run lint but not abort on error
// Lint has some overly obnoxious "errors" that should really be warnings
@ -30,7 +18,6 @@ android {
versionName "0.13"
}
signingConfigs {
release {
if (project.hasProperty('keystore')) {
@ -59,8 +46,6 @@ android {
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile fileTree(dir: "$buildDir/native-libs", include: 'native-libs.jar')
compile 'com.android.support:support-v4:22.0.0'
compile 'com.android.support:support-v13:22.0.0'