aboutsummaryrefslogtreecommitdiff
path: root/artifacts.gradle
diff options
context:
space:
mode:
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