Has someone already tried using anvil in a multi p...
# squarelibraries
p
Has someone already tried using anvil in a multi platform project? I think about creating an
expect class Inject
and using the javax.inject in jvmMain and use anvil to generate the factories
r
I wouldn’t expect Anvil to work in common code. Anvil only works with Dagger. So it should work in a multiplatform project in the JVM / Android modules.
p
Yeah it doesn't. But it would be great if it did. It should be possible to just run against the jvmMain sourceSet