mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 10:37:05 +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.androidx.paging.compose)
|
||||||
implementation(libs.dagger.hilt.android)
|
implementation(libs.dagger.hilt.android)
|
||||||
implementation(libs.retrofit.moshiConverter)
|
implementation(libs.retrofit.moshiConverter)
|
||||||
implementation(libs.moshix.metadatareflect)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
|
@ -6,7 +6,6 @@ import dagger.Provides
|
||||||
import dagger.Reusable
|
import dagger.Reusable
|
||||||
import dagger.hilt.InstallIn
|
import dagger.hilt.InstallIn
|
||||||
import dagger.hilt.components.SingletonComponent
|
import dagger.hilt.components.SingletonComponent
|
||||||
import dev.zacsweers.moshix.reflect.MetadataKotlinJsonAdapterFactory
|
|
||||||
|
|
||||||
@Module
|
@Module
|
||||||
@InstallIn(SingletonComponent::class)
|
@InstallIn(SingletonComponent::class)
|
||||||
|
@ -14,6 +13,6 @@ object MoshiModule {
|
||||||
@Provides
|
@Provides
|
||||||
@Reusable
|
@Reusable
|
||||||
fun provideMoshi(): Moshi {
|
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"
|
moshi-lib = "com.squareup.moshi:moshi:1.12.0"
|
||||||
moshix-ksp = { module = "dev.zacsweers.moshix:moshi-ksp", version.ref = "moshix" }
|
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-lib = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
|
||||||
retrofit-moshiConverter = { module = "com.squareup.retrofit2:converter-moshi", 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