'Unable to import and use ScalaPB generated scala files in multi project settings

I have a multi project gradle setting where in I would like to access the scala files generated by scalapb in one sub project from another sub project. But I am unable to import them .



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source