Had a kotlin 1.4.3 with java 14 project running cucumber tests just fine using lambda step definitions in cucumber-java8. Now, with Kotlin 1.5, I'm getting the "This version of cucumber-java8 is not compatible with Java 12+" error. Tried reducing the java version down to 11, but I still get the error. Did something change with SAM lambda in 1.5 that makes their java class unrecognizable?
Brendan Campbell-hartzell
05/07/2021, 6:43 PM
I reverted back to kotlin 1.4.3 with java 14 and the tests are running just fine again.