replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / android / android_api / base / build.gradle
index 855418d..2d8cbcb 100755 (executable)
 apply plugin: 'com.android.library'\r
 \r
 android {\r
-    compileSdkVersion 21\r
+    if (WITH_TRANSPORT_BLE == "0") {\r
+        compileSdkVersion 21\r
+    }else{\r
+        compileSdkVersion 22\r
+    }\r
     buildToolsVersion "20.0.0"\r
     archivesBaseName = "iotivity-base"\r
 \r
@@ -41,7 +45,7 @@ android {
         minSdkVersion 21\r
         targetSdkVersion 21\r
         versionCode 1\r
-        versionName "1.2.0"\r
+        versionName "1.2.1"\r
         buildConfigField 'int', 'SECURED', SECURED\r
         buildConfigField 'int', 'WITH_TCP', WITH_TCP\r
         buildConfigField 'int', 'WITH_CLOUD', WITH_CLOUD\r