Trying to update the project with Java 17. It doesn't support cucumber-java8. If I try to upgrade cucumber- java to higher version like 7.1.1. I don't find that it allows step definition as lambda expression.
I tried few lower versions but it doesn't allow this feature above jdk 12