It appears unlikely that you get KAP errors, since fritz2 has moved away from using kapt in
0.14.
May it be, that you still include the
fritz2-gradle-plugin in your build.gradle.kts? This is might lead to such errors, as in fact this plugin was used to generate the lenses code via kapt. So it is harmful in combination with fritz2 0.14 upwards!