Debian Codegraph @

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

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