Merge pull request #83 from Hy4ri/refactor/issue-77-remove-workmanager
[refactor] Remove unused WorkManager dependency (#77)
This commit is contained in:
4 files changed
+6
-7
No files matched your search
@@ -12,3 +12,8 @@ local.properties
|
|||||||
.vscode/
|
.vscode/
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
|
|
||||||
|
# Nix / Gradle user home
|
||||||
|
\$PWD/
|
||||||
|
$PWD/
|
||||||
|
|
||||||
@@ -211,7 +211,7 @@ hermes-mobile/
|
|||||||
| **Networking** | [Retrofit 2](https://square.github.io/retrofit/) + [OkHttp 4](https://square.github.io/okhttp/) | REST API calls |
|
| **Networking** | [Retrofit 2](https://square.github.io/retrofit/) + [OkHttp 4](https://square.github.io/okhttp/) | REST API calls |
|
||||||
| **Persistence** | [Room](https://developer.android.com/training/data-storage/room) (SQLite) | Local message history |
|
| **Persistence** | [Room](https://developer.android.com/training/data-storage/room) (SQLite) | Local message history |
|
||||||
| **Encryption** | AndroidX Security Crypto | Secure key storage |
|
| **Encryption** | AndroidX Security Crypto | Secure key storage |
|
||||||
| **Background** | [WorkManager](https://developer.android.com/topic/libraries/architecture/workmanager) | Notification polling |
|
| **Background** | Foreground Service | Notification polling (`ChatNotificationService`) |
|
||||||
| **Serialization** | [Gson](https://github.com/google/gson) | JSON parsing |
|
| **Serialization** | [Gson](https://github.com/google/gson) | JSON parsing |
|
||||||
| **Testing** | jUnit 5 + [MockK](https://mockk.io/) + [OkHttp MockWebServer](https://github.com/square/okhttp/tree/master/mockwebserver) | Unit testing |
|
| **Testing** | jUnit 5 + [MockK](https://mockk.io/) + [OkHttp MockWebServer](https://github.com/square/okhttp/tree/master/mockwebserver) | Unit testing |
|
||||||
| **Linting** | [ktlint](https://ktlint.github.io/) | Kotlin code style |
|
| **Linting** | [ktlint](https://ktlint.github.io/) | Kotlin code style |
|
||||||
|
|||||||
@@ -105,9 +105,6 @@ dependencies {
|
|||||||
implementation(libs.androidx.room.ktx)
|
implementation(libs.androidx.room.ktx)
|
||||||
ksp(libs.androidx.room.compiler)
|
ksp(libs.androidx.room.compiler)
|
||||||
|
|
||||||
// Background notifications (WorkManager)
|
|
||||||
implementation(libs.androidx.work.runtime)
|
|
||||||
|
|
||||||
// Local tests: jUnit, coroutines, Android runner
|
// Local tests: jUnit, coroutines, Android runner
|
||||||
testImplementation(libs.junit)
|
testImplementation(libs.junit)
|
||||||
testImplementation(libs.junit.jupiter.api)
|
testImplementation(libs.junit.jupiter.api)
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ gson = "2.11.0"
|
|||||||
securityCrypto = "1.1.0-alpha06"
|
securityCrypto = "1.1.0-alpha06"
|
||||||
mockk = "1.13.12"
|
mockk = "1.13.12"
|
||||||
room = "2.7.1"
|
room = "2.7.1"
|
||||||
workManager = "2.10.0"
|
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidxCore" }
|
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidxCore" }
|
||||||
@@ -69,8 +68,6 @@ androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "
|
|||||||
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
|
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
|
||||||
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
|
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
|
||||||
|
|
||||||
# Background notifications (WorkManager)
|
|
||||||
androidx-work-runtime = { module = "androidx.work:work-runtime-ktx", version.ref = "workManager" }
|
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
||||||
|
|||||||
Reference in new issue
Block a user