summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
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