mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 08:17:04 +05:30
android: remove unused metadata-reflect adapter
This commit is contained in:
parent
0826b73e51
commit
80a985bf2d
3 changed files with 1 additions and 4 deletions
|
@ -17,7 +17,6 @@ dependencies {
|
|||
implementation(libs.androidx.paging.compose)
|
||||
implementation(libs.dagger.hilt.android)
|
||||
implementation(libs.retrofit.moshiConverter)
|
||||
implementation(libs.moshix.metadatareflect)
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
|
@ -6,7 +6,6 @@ import dagger.Provides
|
|||
import dagger.Reusable
|
||||
import dagger.hilt.InstallIn
|
||||
import dagger.hilt.components.SingletonComponent
|
||||
import dev.zacsweers.moshix.reflect.MetadataKotlinJsonAdapterFactory
|
||||
|
||||
@Module
|
||||
@InstallIn(SingletonComponent::class)
|
||||
|
@ -14,6 +13,6 @@ object MoshiModule {
|
|||
@Provides
|
||||
@Reusable
|
||||
fun provideMoshi(): Moshi {
|
||||
return Moshi.Builder().add(MetadataKotlinJsonAdapterFactory()).build()
|
||||
return Moshi.Builder().build()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,6 @@ dagger-hilt-core = { module = "com.google.dagger:hilt-core", version.ref = "hilt
|
|||
|
||||
moshi-lib = "com.squareup.moshi:moshi:1.12.0"
|
||||
moshix-ksp = { module = "dev.zacsweers.moshix:moshi-ksp", version.ref = "moshix" }
|
||||
moshix-metadatareflect = { module = "dev.zacsweers.moshix:moshi-metadata-reflect", version.ref = "moshix" }
|
||||
|
||||
retrofit-lib = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
|
||||
retrofit-moshiConverter = { module = "com.squareup.retrofit2:converter-moshi", version.ref = "retrofit" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue