diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-08-07 11:35:51 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-08-07 11:35:51 +0200 |
commit | 5286a8edbcc4308cd0cf6249ef3084ba2803f4a8 (patch) | |
tree | 1283cbe30ebab98f113d3679af17ac7d9d00912e | |
parent | 05ad8fbfa3603ee538aebd05ec0b178f0ccb1e91 (diff) | |
download | AntennaPod-5286a8edbcc4308cd0cf6249ef3084ba2803f4a8.zip |
Added gradle buildfile
-rw-r--r-- | build.gradle | 55 | ||||
-rw-r--r-- | settings.gradle | 1 |
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' |