trying to write my own Anvil generator, but fail t...
# dagger
c
trying to write my own Anvil generator, but fail to resolve for instance
import com.squareup.anvil.compiler.internal.asClassName
or anything in the
anvil.compiler.internal
package. I have
api("com.squareup.anvil:compiler-api:2.4.2")
in my dependencies, is there something else I'm missing?
j
#squarelibraries
r
You’re looking for the
com.squareup.anvil:compiler-utils:...
artifact. Note that there are also extensions for testing utilities https://github.com/square/anvil/tree/main/compiler-utils
c
thanks! I learned that over the weekend 🙏