aboutsummaryrefslogtreecommitdiff
path: root/artifacts.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-10-08 03:14:40 -0400
committerGitHub <noreply@github.com>2018-10-08 03:14:40 -0400
commit2ed21b32c9e77da5f957cfbf9d73a0a563b8511c (patch)
tree777031cb40b2d3ab70795134b746fae282cd8059 /artifacts.gradle
parent19020070cc073c81bfe397454f2314d37a78ed31 (diff)
downloadkau-2ed21b32c9e77da5f957cfbf9d73a0a563b8511c.tar.gz
kau-2ed21b32c9e77da5f957cfbf9d73a0a563b8511c.tar.bz2
kau-2ed21b32c9e77da5f957cfbf9d73a0a563b8511c.zip
Enhancement/public xml (#171)3.8.0
* Test gitignore with public xml * Fix spacing
Diffstat (limited to 'artifacts.gradle')
-rw-r--r--artifacts.gradle8
1 files changed, 6 insertions, 2 deletions
diff --git a/artifacts.gradle b/artifacts.gradle
index 12dd3fa..c0c344a 100644
--- a/artifacts.gradle
+++ b/artifacts.gradle
@@ -31,6 +31,8 @@ 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")
@@ -64,7 +66,7 @@ task generatepublicxml {
) {
// Leave file comment
destXmlMkp.yield "\r\n"
- destXmlMkp.comment("AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task")
+ destXmlMkp.comment("AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task")
if (tree.isEmpty())
"public"("name": "dummy", "type": "id")
@@ -96,4 +98,6 @@ task generatepublicxml {
}
}
}
-} \ No newline at end of file
+}
+
+build.dependsOn generatepublicxml \ No newline at end of file