Skip to content

Commit f6b8662

Browse files
author
Oleksii Korniienko
authored
Merge pull request #38 from GlobalMessageServices/RDGMS-1100-add-the-androidx-work-dependency-to-android-sdk
RDGMS-1100 <add androidx.work>
2 parents 3618a5c + 2522b52 commit f6b8662

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ allprojects {
111111
}
112112
}
113113
```
114-
Add SDK dependency to your module (app-level) build.gradle. The latest version 1.1.7
114+
Add SDK dependency to your module (app-level) build.gradle. The latest version 1.1.9
115115
```Gradle
116116
dependencies {
117117
...
118118
//or use a newer version if available
119-
'com.github.GlobalMessageServices:Hyber-GMS-SDK-Android:1.1.7'
119+
'com.github.GlobalMessageServices:Hyber-GMS-SDK-Android:1.1.9'
120120
}
121121
```
122122
To use http protocol instead of https, add android:usesCleartextTraffic="true" to your application tag inside android manifest

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Wed Dec 28 14:58:05 CET 2022
1+
#Tue Mar 14 09:23:53 CET 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
44
distributionPath=wrapper/dists

pushsdkandroid/build.gradle

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ apply plugin: 'org.jetbrains.dokka'
88
apply plugin: 'maven-publish'
99
apply plugin: 'jacoco'
1010

11-
ext.build_version_name = '1.1.7'
11+
ext.build_version_name = '1.1.9'
1212

1313
android {
1414
compileSdkVersion 33
@@ -88,17 +88,19 @@ dependencies {
8888
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
8989
//implementation 'androidx.appcompat:appcompat:1.3.0'
9090
implementation 'androidx.core:core-ktx:1.9.0'
91-
implementation 'androidx.lifecycle:lifecycle-process:2.5.1'
91+
implementation 'androidx.lifecycle:lifecycle-process:2.6.0'
9292
implementation 'androidx.test:monitor:1.6.1'
9393
implementation 'androidx.security:security-crypto:1.1.0-alpha05'
9494

9595

9696
testImplementation 'junit:junit:4.13.2'
9797
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2'
9898
testImplementation project(path: ':pushsdkandroid')
99+
testImplementation 'org.robolectric:robolectric:4.9.2'
100+
101+
99102
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
100103
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
101-
testImplementation 'org.robolectric:robolectric:4.9.2'
102104

103105
implementation 'android.arch.work:work-runtime:1.0.1'
104106
implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0"
@@ -113,9 +115,12 @@ dependencies {
113115
implementation 'io.github.microutils:kotlin-logging:3.0.5'
114116
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
115117

116-
implementation "org.jacoco:org.jacoco.agent:0.7.9:runtime"
118+
implementation "org.jacoco:org.jacoco.agent:0.8.8:runtime"
117119

118120
implementation 'com.google.code.gson:gson:2.10.1'
121+
122+
//WorkManager Version 2.7.0 is required for apps targeting Android 12 (S) or higher
123+
implementation 'androidx.work:work-runtime-ktx:2.8.0'
119124
}
120125

121126
//get HEAD commit hash

0 commit comments

Comments
 (0)