changeset 172:cea461dbc8fd

sort property files
author smith@nwoca.org
date Fri, 22 Aug 2014 15:53:15 +0100
parents 5553cbb25af7
children 50db7a832af5
files init.gradle
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/init.gradle	Tue Jul 08 01:36:34 2014 +0100
+++ b/init.gradle	Fri Aug 22 15:53:15 2014 +0100
@@ -231,6 +231,8 @@
                 doLast {
                     t.mkdirs()
                     gradle."environment${e}".toProperties().store(propertyFile.newOutputStream(), "by $taskName of $this")
+					def l = propertyFile.readLines().sort()
+					propertyFile.text = l.join('\n')
                 }
             }
         }