Mercurial > public > develkit
comparison init20.gradle @ 186:21b4b58e3cd8
fix output property file
author | smith@nwoca.org |
---|---|
date | Tue, 03 Mar 2015 23:05:12 +0000 |
parents | e1762e4ad070 |
children | 6d5b9cf9fd97 |
comparison
equal
deleted
inserted
replaced
185:e1762e4ad070 | 186:21b4b58e3cd8 |
---|---|
245 t.mkdirs() | 245 t.mkdirs() |
246 buildenv.text = gradle.env | 246 buildenv.text = gradle.env |
247 def ps = gradle."environment${e}".toProperties() | 247 def ps = gradle."environment${e}".toProperties() |
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 ps.store(pf.newOutputStream(), "by $taskName of $this") | 251 ps.store(pf.newOutputStream(), "by $taskName of $this") |
251 def l = pf.readLines().sort() | 252 def l = pf.readLines().sort() |
252 pf.text = l.join('\n') | 253 pf.text = l.join('\n') |
253 } | 254 } |
254 } | 255 } |