prerequisites: Adopt OpenJDK 11, Gradle 6.8.1, Groovy 3.0, Spock 2.0,
Firstly I've got exceptions dependence with inner static builder class:
#: [Static type checking] - Cannot find matching method java.lang.Object#withSomeMethod(int). Please check if the declared type is correct and if the method exists.
@ line #, column #. .withSomeMethod(1)
Then I declared variables in Class Specification. But I've got exceptions:
SomeSpec.groovy: 12: where-blocks may only contain parameterizations
How can I integrate static compile with Spock Parameterization Tests?