Skip to content

Commit

Permalink
feat: remove dependency on moshi-kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
hpinhal committed Jun 30, 2021
1 parent 8636f4c commit 9d89a98
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion notificare-inbox/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ dependencies {
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"

// Moshi
implementation "com.squareup.moshi:moshi-kotlin:$moshi_version"
implementation "com.squareup.moshi:moshi:$moshi_version"
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshi_version"
implementation "com.squareup.moshi:moshi-adapters:$moshi_version"
}
Expand Down
2 changes: 1 addition & 1 deletion notificare-push-fcm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
implementation 'com.google.firebase:firebase-messaging-ktx'

// Moshi
implementation "com.squareup.moshi:moshi-kotlin:$moshi_version"
implementation "com.squareup.moshi:moshi:$moshi_version"
}

afterEvaluate {
Expand Down
4 changes: 1 addition & 3 deletions notificare-push-hms/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
// HMS Push depends on a previous version of kotlin-reflect.
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"

implementation project(':notificare')
Expand All @@ -50,7 +48,7 @@ dependencies {
implementation "com.huawei.hms:push:$huawei_push_version"

// Moshi
implementation "com.squareup.moshi:moshi-kotlin:$moshi_version"
implementation "com.squareup.moshi:moshi:$moshi_version"
}

afterEvaluate {
Expand Down
2 changes: 1 addition & 1 deletion notificare-push/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies {
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"

// Moshi
implementation "com.squareup.moshi:moshi-kotlin:$moshi_version"
implementation "com.squareup.moshi:moshi:$moshi_version"
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshi_version"
implementation "com.squareup.moshi:moshi-adapters:$moshi_version"
}
Expand Down
2 changes: 1 addition & 1 deletion notificare/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ dependencies {
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp_version"

// Moshi
implementation "com.squareup.moshi:moshi-kotlin:$moshi_version"
implementation "com.squareup.moshi:moshi:$moshi_version"
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshi_version"
implementation "com.squareup.moshi:moshi-adapters:$moshi_version"

Expand Down

0 comments on commit 9d89a98

Please sign in to comment.