summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-08-07 11:35:51 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2013-08-07 11:35:51 +0200
commit5286a8edbcc4308cd0cf6249ef3084ba2803f4a8 (patch)
tree1283cbe30ebab98f113d3679af17ac7d9d00912e
parent05ad8fbfa3603ee538aebd05ec0b178f0ccb1e91 (diff)
downloadAntennaPod-5286a8edbcc4308cd0cf6249ef3084ba2803f4a8.zip
Added gradle buildfile
-rw-r--r--build.gradle55
-rw-r--r--settings.gradle1
2 files changed, 56 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 000000000..8a1644666
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:0.5.5'
+ }
+}
+apply plugin: 'android'
+
+repositories {
+ mavenCentral()
+}
+dependencies {
+ compile 'com.android.support:appcompat-v7:18.0.+'
+ compile 'org.apache.commons:commons-lang3:3.1'
+ compile ('org.shredzone.flattr4j:flattr4j-core:2.4') {
+ exclude group: 'org.apache.httpcomponents', module: 'httpcore'
+ exclude group: 'org.apache.httpcomponents', module: 'httpclient'
+ exclude group: 'org.json', module: 'json'
+ }
+ compile 'commons-io:commons-io:2.4'
+ compile 'com.nineoldandroids:library:2.4.0'
+ compile project(':submodules:dslv:library')
+}
+
+android {
+ compileSdkVersion 17
+ buildToolsVersion "17"
+
+ defaultConfig {
+ minSdkVersion 10
+ targetSdkVersion 17
+ }
+
+ sourceSets {
+ main {
+ manifest.srcFile 'AndroidManifest.xml'
+ java.srcDirs = ['src']
+ resources.srcDirs = ['src']
+ aidl.srcDirs = ['src']
+ renderscript.srcDirs = ['src']
+ res.srcDirs = ['res']
+ assets.srcDirs = ['assets']
+ }
+
+ instrumentTest.setRoot('tests')
+ }
+
+ buildTypes {
+ debug {
+ packageNameSuffix ".debug"
+ }
+ }
+}
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 000000000..6de43d84c
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1 @@
+include ':submodules:dslv:library'