Thanks. Unfortunately, I cannot currently update the kotlin gradle plugin to a 1.8 version. However building the project directly by gradle does work correctly. It only fails when loading it into IntelliJ.
a
Alexey Belkov [JB]
05/16/2023, 9:40 AM
So the workaround is to either upgrade KGP or use the previous version of IDEA