Yep, build time is definitely a problem for big mixed java/kotlin projects. If you have ssh access to some powerful machine you can use
https://github.com/gojuno/mainframer to build it remotely but work in IDE locally, this will allow you to use laptop during the build and build should be noticeably faster