Empty cucumber report is being generated when cucumber tests ran with --fail-fast option

./gradlew --offline test -Dcucumber.options="–tags @" --fail-fast

@ : This feature file contains 3 scenario and when executed the second step of the fist scenario will be failed. But at the end of the above command execution the cucumber.json is found to be empty, hence unable to get the cucumber reports generated.

I am on gradle version 5.4.1, please let me know the resolution to my issue.