58cae46cd99e11ade2ea042c1159f45ea04bc3da
[platform/upstream/iotivity.git] / android / examples / devicediscoveryclient / build.gradle
1 apply plugin: 'com.android.application'
2
3 android {
4     compileSdkVersion 23
5     buildToolsVersion "23.0.1"
6
7     defaultConfig {
8         applicationId "org.iotivity.base.examples.devicediscoveryclient"
9         minSdkVersion 21
10         targetSdkVersion 23
11         versionCode 1
12         versionName "1.0"
13     }
14     buildTypes {
15         release {
16             minifyEnabled false
17             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18         }
19     }
20     lintOptions {
21         abortOnError false
22     }
23 }
24 repositories {
25     flatDir {
26         dirs "../../android_api/base/build/outputs/aar/"
27     }
28 }
29
30 try {
31     dependencies {
32         compile ":iotivity-base-${TARGET_ARCH}-${RELEASE}@aar"
33     }
34 } catch (all) {
35     print "${ERROR_MSG}"
36     assert all
37 }