summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
1 files changed, 7 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 413e6240..7708404b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,13 +9,18 @@ buildscript {
apply plugin: 'android'
+repositories {
+ mavenCentral()
+}
+
dependencies {
+ compile 'com.intellij:annotations:12.0'
}
android {
compileSdkVersion 17
buildToolsVersion "17"
-
+
defaultConfig {
minSdkVersion 14
targetSdkVersion 17
@@ -48,8 +53,7 @@ android {
}
}
-
-// ~/.gradle/gradle.properties
+// ~/.gradle/gradle.properties
if (project.hasProperty('keystoreFile') &&
project.hasProperty('keystorePassword') &&
project.hasProperty('keystoreAliasPassword')) {
@@ -61,7 +65,6 @@ 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')