summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-05-25 19:15:58 +0200
committerArne Schwabe <arne@rfc2549.org>2013-05-25 19:15:58 +0200
commita5023ab2a6c00fa8ef6dfc6d58329e0886e0e1c1 (patch)
treecd3ca0d293aeeca107be3420c9f4dce9a9674d63 /build.gradle
parent9ea8c8a18a4e02531df8acb87ad12a578805ee37 (diff)
Allow project to be build with gradle
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle17
1 files changed, 17 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 9e6e9415..04ade8a9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -33,4 +33,21 @@ android {
instrumentTest.setRoot('tests')
}
+
+ signingConfigs {
+ release {
+ storeFile file("/Users/arne/software/android.keystore")
+ storePassword "$System.env.ICSOPENVPNSIGNPW"
+ keyAlias "singkey"
+ keyPassword "$System.env.ICSOPENVPNSIGNPW"
+ }
+ }
}
+
+//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')
+}
+
+clean.dependsOn 'cleanCopyNativeLibs' \ No newline at end of file