Debian Codegraph @

templates/gradle-projects/NewGlassModule/recipe.xml.ftl

raw
1 <?xml version="1.0"?>
2 <recipe>
3 <mkdir at="${escapeXmlAttribute(srcOut)}" />
4
5 <mkdir at="${escapeXmlAttribute(projectOut)}/libs" />
6
7 <merge from="root/settings.gradle.ftl"
8 to="${escapeXmlAttribute(topOut)}/settings.gradle" />
9 <instantiate from="root/build.gradle.ftl"
10 to="${escapeXmlAttribute(projectOut)}/build.gradle" />
11 <instantiate from="root/AndroidManifest.xml.ftl"
12 to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
13
14 <#if copyIcons>
15 <mkdir at="${escapeXmlAttribute(resOut)}/drawable" />
16 <copy from="root/res/mipmap-hdpi"
17 to="${escapeXmlAttribute(resOut)}/mipmap-hdpi" />
18 <copy from="root/res/mipmap-mdpi"
19 to="${escapeXmlAttribute(resOut)}/mipmap-mdpi" />
20 <copy from="root/res/mipmap-xhdpi"
21 to="${escapeXmlAttribute(resOut)}/mipmap-xhdpi" />
22 <copy from="root/res/mipmap-xxhdpi"
23 to="${escapeXmlAttribute(resOut)}/mipmap-xxhdpi" />
24 </#if>
25 <#if makeIgnore>
26 <copy from="root/module_ignore"
27 to="${escapeXmlAttribute(projectOut)}/.gitignore" />
28 </#if>
29 <#if enableProGuard>
30 <instantiate from="root/proguard-rules.txt.ftl"
31 to="${escapeXmlAttribute(projectOut)}/proguard-rules.pro" />
32 </#if>
33 <instantiate from="root/res/values/styles.xml"
34 to="${escapeXmlAttribute(resOut)}/values/styles.xml" />
35
36 <instantiate from="root/res/values/strings.xml.ftl"
37 to="${escapeXmlAttribute(resOut)}/values/strings.xml" />
38
39 <instantiate from="root/test/app_package/ApplicationTest.java.ftl"
40 to="${escapeXmlAttribute(testOut)}/ApplicationTest.java" />
41
42 </recipe>