@@ -58,10 +58,10 @@ android {
5858 buildToolsVersion rootProject. ext. buildToolsVersion
5959
6060 defaultConfig {
61- // 19 since we need the setpin api
62- minSdkVersion 19
63- versionCode 26
64- versionName ' 4.1.2 '
61+
62+ minSdkVersion rootProject . ext . minSdkVersion
63+ versionCode 30
64+ versionName ' 4.3.0 '
6565 applicationId " com.st.bluems"
6666 targetSdkVersion rootProject. ext. targetSdkVersion
6767 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
@@ -73,9 +73,8 @@ android {
7373 // signingConfig signingConfigs.config
7474 minifyEnabled true
7575 shrinkResources true
76- proguardFiles getDefaultProguardFile(' proguard-android.txt' ),
77- ' proguard-rules.pro' ,
78- ' ../BlueSTSDK/BlueSTSDK/proguard-rules.pro' }
76+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
77+ }
7978 debug {
8079 applicationIdSuffix " .debug"
8180 versionNameSuffix " -dev" + getDate()
@@ -110,7 +109,9 @@ android {
110109 sourceCompatibility JavaVersion . VERSION_1_8
111110 targetCompatibility JavaVersion . VERSION_1_8
112111 }
113-
112+ packagingOptions {
113+ exclude " thirdpartynotice.txt"
114+ }
114115}
115116
116117ext {
@@ -129,6 +130,9 @@ dependencies {
129130 implementation fileTree(include : ' *.jar' , dir : ' libs' )
130131 implementation project(' :BlueSTSDK' )
131132 implementation project(' :BlueSTSDK_Gui_Android' )
133+ implementation project(' :BlueMSCloud' )
134+
135+ implementation ' com.github.PhilJay:MPAndroidChart:v3.0.3'
132136
133137 implementation ' com.github.PhilJay:MPAndroidChart:v3.0.3'
134138
@@ -145,28 +149,15 @@ dependencies {
145149 annotationProcessor " android.arch.persistence.room:compiler:$roomVersion "
146150
147151 // Lifecycle components
148- implementation " android.arch.lifecycle:extensions:$archLifecycleVersion "
149- annotationProcessor " android.arch.lifecycle:compiler:$archLifecycleVersion "
150-
151- // necessary for ProviderInstaller.installIfNeeded for enable tls1.2 on android 4.4@samsung s4
152- implementation group : ' com.google.android.gms' , name : ' play-services-base' , version : ' 16.0.1'
153-
154- // necessary to cloud demo, for mqtt connection
155- implementation group : ' org.eclipse.paho' , name : ' org.eclipse.paho.client.mqttv3' , version : ' 1.2.0'
156- implementation group : ' org.eclipse.paho' , name : ' org.eclipse.paho.android.service' , version : ' 1.1.1'
157-
158- // necessary to azure iot
159- implementation group : ' com.squareup.retrofit2' , name : ' retrofit' , version : " $retrofitVersion "
160- implementation group : ' com.squareup.retrofit2' , name : ' converter-gson' , version : " $retrofitVersion "
161-
162- // amazon aws iot
163- implementation group : ' com.amazonaws' , name : ' aws-android-sdk-iot' , version : " $rootProject . amazonSDKVersion "
152+ implementation " android.arch.lifecycle:extensions:$rootProject . archLifecycleVersion "
153+ annotationProcessor " android.arch.lifecycle:compiler:$rootProject . archLifecycleVersion "
164154
165155 // ibm speech to text
166- implementation group : ' com.ibm.watson.developer_cloud' , name : ' speech-to-text' , version : ' 6.4 .0'
156+ implementation group : ' com.ibm.watson.developer_cloud' , name : ' speech-to-text' , version : ' 6.12 .0'
167157
168158 // generic websocket speech to cloud
169- implementation group : ' com.squareup.okhttp3' , name :' okhttp' , version : ' 3.11.0'
159+ implementation group : ' com.squareup.okhttp3' , name : ' okhttp' , version : ' 3.13.1'
160+
170161
171162 // memory leak detector
172163 debugImplementation group : ' com.squareup.leakcanary' , name : ' leakcanary-android' , version : " $leakcanaryVersion "
@@ -182,3 +173,4 @@ dependencies {
182173 androidTestImplementation " com.android.support.test:rules:$rootProject . rulesVersion "
183174 androidTestImplementation " com.android.support.test.espresso:espresso-core:$rootProject . espressoVersion "
184175}
176+
0 commit comments