Added Android code
[wl-app.git] / Android / r2-streamer / sample / build.gradle
1 apply plugin: 'com.android.application'
2
3 android {
4     compileSdkVersion 25
5     buildToolsVersion "25.0.0"
6
7     defaultConfig {
8         applicationId "com.codetoart.sample"
9         minSdkVersion 17
10         targetSdkVersion 25
11         versionCode 1
12         versionName "1.0"
13
14         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15
16     }
17     buildTypes {
18         release {
19             minifyEnabled false
20             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21         }
22     }
23     packagingOptions {
24         exclude 'libs/jackson-core-asl-1.5.0.jar'
25         exclude 'libs/jackson-mapper-asl-1.5.0.jar'
26         exclude 'META-INF/ASL2.0'
27         exclude 'META-INF/LICENSE'
28         exclude 'META-INF/NOTICE'
29     }
30 }
31
32 dependencies {
33     compile fileTree(dir: 'libs', include: ['*.jar'])
34
35     compile project(':r2-server')
36     compile project(':r2-parser')
37     compile project(':r2-fetcher')
38
39     androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
40         exclude group: 'com.android.support', module: 'support-annotations'
41     })
42     compile 'com.android.support:appcompat-v7:25.2.0'
43     testCompile 'junit:junit:4.12'
44 }