summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-07-09 10:42:04 +0200
committerArne Schwabe <arne@rfc2549.org>2013-07-09 10:42:04 +0200
commit5be1eaadf71bb880bf8e7f9d917e9aa3504f019a (patch)
treef1dba5ac298299b42fd726f8812dbe6a5d86c444 /build.gradle
parent7191007061b5ecf493251d5d260fdc4ad2b614e9 (diff)
Add support for IntelliJ annotations (@Nullable, @NotNull)
Also remove superfluous log message
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')