all: switch to moshi-ksp

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-28 19:48:43 +05:30
parent 7b87792d8a
commit fb2005fd83
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
9 changed files with 15 additions and 7 deletions

View file

@ -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)
@ -15,7 +14,6 @@ object MoshiModule {
@Reusable
fun provideMoshi(): Moshi {
return Moshi.Builder()
.add(MetadataKotlinJsonAdapterFactory())
.build()
}
}