Debian Codegraph @

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

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