In class
class Variable{
String name
def value
}
When I do it in eclipse works fine...
Variable variable = new Variable(name:"A",value:3)
But, when I do gradle build, compiler ignores value parameter for constructor and my tests fail.
To work, I need:
Variable variable = new Variable(name:"A")
variable.value = 3
Somebody have got this situation yet?