I have a config.properties file in a jar and I would like to read and write in this file , to read I used
def config = CodeGenerator.getResourceAsStream("/config.properties")
Properties props = new Properties()
props.load(config)
def patternId = props.patternId as Integer;
def groupId = props.patternGroupId as Integer;
...
props.store(???)
but I don't know how to write my properties values ββin this file ?