aboutsummaryrefslogtreecommitdiffstats
path: root/libs/openpgp-api-lib/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'libs/openpgp-api-lib/build.gradle')
-rw-r--r--libs/openpgp-api-lib/build.gradle35
1 files changed, 35 insertions, 0 deletions
diff --git a/libs/openpgp-api-lib/build.gradle b/libs/openpgp-api-lib/build.gradle
new file mode 100644
index 00000000..6e8fdfb5
--- /dev/null
+++ b/libs/openpgp-api-lib/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.12.2'
+ }
+}
+
+apply plugin: 'android-library'
+
+android {
+ compileSdkVersion 19
+ buildToolsVersion '19.1'
+
+ // 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
+ }
+}