$ 0 0 @Lance do you think if I just jar provide these generated sources using a task and make compileDebugKotlin depend on that will solve the problem? classes -> jar -> archive Like this thread suggests