Imported Upstream version 1.0.0
[platform/upstream/iotivity.git] / android / examples / simpleserver / build.gradle
1 apply plugin: 'com.android.application'
2
3 android {
4     compileSdkVersion 21
5     buildToolsVersion "20.0.0"
6
7     defaultConfig {
8         applicationId "org.iotivity.base.examples.simpleserver"
9         minSdkVersion 21
10         targetSdkVersion 21
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 }