I want to create the following project structure with gradle
FlavorA
java
sources
FlavorB
java
sources
FlavorC
java
sources
main
java
sources
commonCodeWithFlavorAAndB
java
sources
commonCodeWithFlavorAAndC
java
sources
now I created this project structure, and defined the sourceSet srcDirs in build.gradle
however, when i try to run flavorA it says a class from commonCodeWithFlavorAAndC is missing to run A
How can I fix it?