diff options
author | Allan Wang <me@allanwang.ca> | 2018-10-18 00:32:33 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2018-10-18 00:32:33 -0400 |
commit | 572d470a2677eec0405a7b16ab9a2cfb954d6832 (patch) | |
tree | 536c6bdb298f7e9a176c53fde56982bf2384e195 /artifacts.gradle | |
parent | 096172ead4674bffd5dd83eb994dd68ac48b88ae (diff) | |
parent | 11f0d0fed07806965555490836d564d042c7b3ec (diff) | |
download | kau-572d470a2677eec0405a7b16ab9a2cfb954d6832.tar.gz kau-572d470a2677eec0405a7b16ab9a2cfb954d6832.tar.bz2 kau-572d470a2677eec0405a7b16ab9a2cfb954d6832.zip |
Merge dev
Diffstat (limited to 'artifacts.gradle')
-rw-r--r-- | artifacts.gradle | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/artifacts.gradle b/artifacts.gradle index c0c344a..ab291f7 100644 --- a/artifacts.gradle +++ b/artifacts.gradle @@ -31,8 +31,6 @@ artifacts { // We assume resources within res-public are public task generatepublicxml { - println "Generating public XML" - def resDir = project.projectDir.absolutePath + "/src/main/res-public" def publicFolder = file(resDir + "/values") @@ -51,10 +49,12 @@ task generatepublicxml { '**/values/*.xml' ], exclude: '**/public.xml' - ); + ) + + println "Generating public XML: ${project.name}" // Create new public.xml with writer - new File(resDir + "/values/public.xml").withWriter { writer -> + file(resDir + "/values/public.xml").withWriter { writer -> // Create MarkupBuilder with 4 space indent def destXml = new MarkupBuilder(new IndentPrinter(writer, " ", true)); def destXmlMkp = destXml.getMkp(); |