Mercurial > public > develkit
comparison init20.gradle @ 260:7b699c240ceb
allow slurper files that have 'parent' settings
author | smith@nwoca.org |
---|---|
date | Fri, 02 Nov 2018 16:21:16 +0100 |
parents | 020de521e394 |
children | b7b65152446e |
comparison
equal
deleted
inserted
replaced
259:020de521e394 | 260:7b699c240ceb |
---|---|
248 ps['ssdt.project'] = project.name | 248 ps['ssdt.project'] = project.name |
249 def pf = new File(outputDir,propertyFile) | 249 def pf = new File(outputDir,propertyFile) |
250 ext.outputPropertyFile = pf | 250 ext.outputPropertyFile = pf |
251 ps.store(pf.newOutputStream(), "by $taskName of $this") | 251 ps.store(pf.newOutputStream(), "by $taskName of $this") |
252 def l = pf.readLines().sort() | 252 def l = pf.readLines().sort() |
253 pf.text = l.join('\n') | 253 pf.text = l.join('\n').replaceAll("\\.PARENT","") |
254 } | 254 } |
255 } | 255 } |
256 } | 256 } |
257 } | 257 } |
258 | 258 |