I figured it out (and it was a change that I didn’t commit to the repository, oops); I just forgot to apply the kotlin plugin in the subprojects. in IDEA all the identifiers appeared red, but really the error was caused by the kotlin block not being recognized.