comparison init20.gradle @ 249:35c7933572f8

USASR-2891: Change creation of directories to use outputDir
author Christopher Springer <springer@nwoca.org>
date Fri, 27 Oct 2017 16:09:00 +0100
parents ecae2b9a41d3
children 88d5807ea351
comparison
equal deleted inserted replaced
248:c8c8766492c5 249:35c7933572f8
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 buildenv.text = gradle.env 221 buildenv.text = gradle.env
222 def ps = gradle."environment${e}".toProperties() 222 def ps = gradle."environment${e}".toProperties()
223 ps['ssdt.project'] = project.name 223 ps['ssdt.project'] = project.name
224 def pf = new File(outputDir,propertyFile) 224 def pf = new File(outputDir,propertyFile)
225 ext.outputPropertyFile = pf 225 ext.outputPropertyFile = pf