I'm trying to modularize my app but I've got a problem.
I've got four modules, app and instantapp as applicatio and as a feature, base and detail, ok?
base is the main feature (com.android.feature) where I've got most of my logic gradle file:
apply plugin: 'com.android.feature'
bla bla bla
dependencies {
application project(":app")
feature project(":details")
}
details gradel file:
apply plugin: 'com.android.feature'
bla bla bla
dependencies {
implementation project(':base')
}
Android manifest from base has a package called: com.jtcsoft.com and details feature has a package: com.jtcsoft.com.details.
Everything works fine in details BUT in base feature I the details feature classes are not found :( Android Studio tells me to add a compile project(":details") in base config but this causes a circular dependency.
What am I doing wrong? :(
Thanks a lot in advance!