summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-12-28 13:57:13 +0100
committerArne Schwabe <arne@rfc2549.org>2013-12-28 13:57:13 +0100
commit879a13d097ff369ddf145252492e0843a18c7548 (patch)
treed11586567869d618f7390ec47affd37c4d71ecfc
parent2dde271d7058e989fccbee3d2e9c09ee3cc77b27 (diff)
gradle plugin 0.7.+
--HG-- extra : rebase_source : 1fc756a2ce4e0ea4b3ed5242b1d7a2b81ca3847d
-rw-r--r--build.gradle11
1 files changed, 8 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 73532fbd..b227af89 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:0.6.+'
+ classpath 'com.android.tools.build:gradle:0.7.+'
}
}
@@ -61,6 +61,11 @@ android {
release
}
+ lintOptions {
+ disable 'MissingTranslation', 'Typos'
+ enable 'IconExpectedSize'
+ }
+
buildTypes {
release {
signingConfig signingConfigs.release
@@ -80,8 +85,8 @@ if (project.hasProperty('keystoreFile') &&
android.buildTypes.release.signingConfig = null
}
-//http://stackoverflow.com/questions/16683775/include-so-library-in-apk-in-android-studio
tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask ->
- pkgTask.jniDir new File(buildDir, 'native-libs')
+ pkgTask.jniFolders = new HashSet<File>()
+ pkgTask.jniFolders.add(new File(buildDir, 'native-libs'))
}