com.avito.android.info.di.MoshiProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of code-ownership Show documentation
Show all versions of code-ownership Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
The newest version!
package com.avito.android.info.di
import com.avito.android.owner.adapter.OwnerAdapterFactory
import com.squareup.moshi.Moshi
internal class MoshiProvider(
private val ownerAdapterFactory: OwnerAdapterFactory
) {
fun provide(): Moshi = Moshi.Builder().add(ownerAdapterFactory.adapter).build()
}