compileDebugJavaWithJavac' task (current target is 18) and 'kaptGenerateStubsDebugKotlin' task (current target is 19) jvm target compatibility should be set to the same Java version.
Doesn't Java have backward compatibility? because of a library I had to use java 18 in a project but I updated my jdk to 19 while ago. I shouldn't get this error, should I?