ansman/kotshi

Unresolved reference: KotshiAppJsonAdapterFactory

Closed this issue · 2 comments

import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import se.ansman.kotshi.KotshiJsonAdapterFactory
@KotshiJsonAdapterFactory
object AppJsonAdapterFactory : JsonAdapter.Factory by KotshiAppJsonAdapterFactory
bug

The compiler cannot pass

ansman commented

Some questions:

  • Did you add the compiler dependency to build.gradle?
  • Did you try building the project?

These references will be unresolved until you build once.