Yes but it's a bit hacky right now, you need to define two projects, one with just the java files, one with just the kotlin files and have one depend on the other. This assumes there's a clean dependency between both. If it's not the case, I don't know how to build your project right now