aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorRene Treffer <treffer@measite.de>2014-04-02 22:00:32 +0200
committerRene Treffer <treffer@measite.de>2014-04-02 22:00:32 +0200
commit32b27c53e03d3e1f25230efc48610efeab31f9a2 (patch)
tree89b60b17670b098cbb476b855c8fbe430a2edb80 /build.gradle
Initial commit
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle34
1 files changed, 34 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 00000000..2a17c6ae
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,34 @@
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:0.9.0'
+ }
+}
+
+apply plugin: 'android-library'
+
+android {
+ compileSdkVersion 9
+ 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
+ }
+}