ansman / kotshi

An annotation processor that generates Moshi adapters from immutable Kotlin data classes.

Home Page:https://kotshi.ansman.se

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unresolved reference: KotshiAppJsonAdapterFactory

fendoupi opened this issue · 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

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.