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