# multiplatform

Peter Hsu

07/24/2020, 3:46 PM
I'm having some issues with classes not being packaged into the aar output of my project with submodules. I have a submodule import with
Copy code
commonMain {
            dependencies {
                implementation project(':common-mp')
Within this project, is an expected class and actual definition for android. When I assemble outputs using mainModuleassemble, the jar within the aar does not contain the source files from the common-mp project. I've tried 'api' instead of 'implementation', but that doesn't work. Am I missing something obvious?
I think maybe this is by design, but is there any way to tell the assemble task to compile sources from other modules as well? I thought that's what 'api' was for, but that doesn't seem to do the trick