aboutsummaryrefslogtreecommitdiff
path: root/artifacts.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-10-18 00:32:33 -0400
committerAllan Wang <me@allanwang.ca>2018-10-18 00:32:33 -0400
commit572d470a2677eec0405a7b16ab9a2cfb954d6832 (patch)
tree536c6bdb298f7e9a176c53fde56982bf2384e195 /artifacts.gradle
parent096172ead4674bffd5dd83eb994dd68ac48b88ae (diff)
parent11f0d0fed07806965555490836d564d042c7b3ec (diff)
downloadkau-572d470a2677eec0405a7b16ab9a2cfb954d6832.tar.gz
kau-572d470a2677eec0405a7b16ab9a2cfb954d6832.tar.bz2
kau-572d470a2677eec0405a7b16ab9a2cfb954d6832.zip
Merge dev
Diffstat (limited to 'artifacts.gradle')
-rw-r--r--artifacts.gradle8
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();