aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain-API/libraries/openpgp-api-library/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain-API/libraries/openpgp-api-library/build.gradle')
-rw-r--r--OpenKeychain-API/libraries/openpgp-api-library/build.gradle35
1 files changed, 35 insertions, 0 deletions
diff --git a/OpenKeychain-API/libraries/openpgp-api-library/build.gradle b/OpenKeychain-API/libraries/openpgp-api-library/build.gradle
new file mode 100644
index 000000000..98c9a3bd6
--- /dev/null
+++ b/OpenKeychain-API/libraries/openpgp-api-library/build.gradle
@@ -0,0 +1,35 @@
+// please leave this here, so this library builds on its own
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:0.9.0'
+ }
+}
+
+apply plugin: 'android-library'
+
+android {
+ compileSdkVersion 19
+ buildToolsVersion '19.0.3'
+
+ // NOTE: We are using the old folder structure to also support Eclipse
+ sourceSets {
+ main {
+ manifest.srcFile 'AndroidManifest.xml'
+ java.srcDirs = ['src']
+ resources.srcDirs = ['src']
+ aidl.srcDirs = ['src']
+ renderscript.srcDirs = ['src']
+ res.srcDirs = ['res']
+ assets.srcDirs = ['assets']
+ }
+ }
+
+ // Do not abort build if lint finds errors
+ lintOptions {
+ abortOnError false
+ }
+}