comparison init20.gradle @ 250:88d5807ea351

USASR-2891: Add back removed creation of directory
author Christopher Springer <springer@nwoca.org>
date Fri, 27 Oct 2017 16:46:37 +0100
parents 35c7933572f8
children 01c6387bc240
comparison
equal deleted inserted replaced
249:35c7933572f8 250:88d5807ea351
215 outputs.files new File(outputDir,propertyFile), buildenv 215 outputs.files new File(outputDir,propertyFile), buildenv
216 outputs.upToDateWhen { 216 outputs.upToDateWhen {
217 gradle.env == project.previousBuildenv && outputs.getFiles().every { it.exists() } 217 gradle.env == project.previousBuildenv && outputs.getFiles().every { it.exists() }
218 } 218 }
219 doLast { 219 doLast {
220 t.mkdirs()
220 outputDir.mkdirs() 221 outputDir.mkdirs()
221 buildenv.text = gradle.env 222 buildenv.text = gradle.env
222 def ps = gradle."environment${e}".toProperties() 223 def ps = gradle."environment${e}".toProperties()
223 ps['ssdt.project'] = project.name 224 ps['ssdt.project'] = project.name
224 def pf = new File(outputDir,propertyFile) 225 def pf = new File(outputDir,propertyFile)