If anybody runs into this, I created a commonMain source root under src and moved the enum in there.
commonMain
src