-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecipe.xml.ftl
26 lines (20 loc) · 1 KB
/
recipe.xml.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>
<#import "root://activities/common/kotlin_macros.ftl" as kt>
<recipe>
<@kt.addAllKotlinDependencies />
<dependency mavenUrl="com.android.support:support-media-compat:${buildApi}.+" />
<merge from="root/AndroidManifest.xml.ftl"
to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
<#if useCustomTheme>
<merge from="root/res/values-v21/styles.xml.ftl"
to="${escapeXmlAttribute(resOut)}/values-v21/styles.xml" />
</#if>
<copy from="root/res/xml/automotive_app_desc.xml"
to="${escapeXmlAttribute(resOut)}/xml/automotive_app_desc.xml" />
<instantiate from="root/src/app_package/MusicService.${ktOrJavaExt}.ftl"
to="${escapeXmlAttribute(srcOut)}/${mediaBrowserServiceName}.${ktOrJavaExt}" />
<open file="${escapeXmlAttribute(srcOut)}/${mediaBrowserServiceName}.${ktOrJavaExt}" />
<#if useCustomTheme>
<open file="${escapeXmlAttribute(resOut)}/values-v21/styles.xml" />
</#if>
</recipe>