Example output before fix (warning in red when monochrome := false):
[info] [info] Done compiling.
[error] Oct 29, 2019 8:20:40 PM cucumber.api.cli.Main run
[error] WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main
[info] @hello-world
[info] Feature: Hello World
Example output after fix:
[info] [info] Done compiling.
[info] @hello-world
[info] Feature: Hello World
To get rid of deprecation warning.
Example output before fix (warning in red when
monochrome := false
):Example output after fix: