I need to get values from a groovy config file which named ( sth.properties ) so that i can set the values to an object properties ! file has for instance:
value1 = 1
value2 = 2
value3 = 3
and I need to set them to my object:
SomeObject.value1 = value1
SomeObject.value2 = value2
SomeObject.value3 = value3
I couldn't get this class which used to read groovy config files (ConfigSlurper) in my project. It seems like it is deprecated!
How can I do this?