replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / service / easy-setup / sampleapp / mediator / android-samsung / EasySetup / app / build.gradle
1 //******************************************************************
2 //
3 // Copyright 2016 Samsung Electronics All Rights Reserved.
4 //
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 //
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //      http://www.apache.org/licenses/LICENSE-2.0
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
20
21 apply plugin: 'com.android.application'
22
23 android {
24     compileSdkVersion 21
25     buildToolsVersion "20.0.0"
26
27     defaultConfig {
28         applicationId "org.iotivity.service.easysetup"
29         minSdkVersion 21
30         targetSdkVersion 21
31         versionCode 1
32         versionName "1.0"
33     }
34     buildTypes {
35         release {
36             minifyEnabled false
37             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
38         }
39     }
40     lintOptions {
41         abortOnError false
42     }
43 }
44 repositories {
45     flatDir {
46         dirs "../../../../../../../android/android_api/base/build/outputs/aar/", "../../../../../mediator/richsdk/android/EasySetupCore/build/outputs/aar/"
47     }
48 }
49
50 try {
51     dependencies {
52         compile ":iotivity-base-${TARGET_ARCH}-${RELEASE}@aar"
53         compile ":EasySetupCore-${RELEASE}@aar"
54     }
55 } catch (all) {
56     print "${ERROR_MSG}"
57     assert all
58 }