Thank you for an example I will take a look at this and I’m sure there must be something wrong in my configuration 🙂
h
hfhbd
08/28/2022, 7:52 PM
Okay, I found the issue with the shared demo project: You are defining the tables in moduleA and the queries using the tables in moduleB. But your gradle files say the opposite: the db of moduleA should depend on the db of moduleB. You must replace the
dependency(project(":moduleB"))
to moduleB with this content:
dependency(project(":moduleA"))
and the same with the
implementation
. The error was very easy to overlook :D
k
KamilH
08/28/2022, 9:02 PM
Now I get it, thank you so much! I wrongly though it should work other way around 🙂 Sadly IDE still doesn’t see a table, so it lacks autocomplete, but it’s something I can live with 😄