-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipe.xml.ftl
22 lines (21 loc) · 915 Bytes
/
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
<?xml version="1.0"?>
<recipe>
<dependency mavenUrl="com.android.support:recyclerview-v7:28.0.0+"/>
<instantiate from="root/src/app_package/BasicViewHolder.kt.ftl"
to="${escapeXmlAttribute(srcOut)}/${viewHolderName}ViewHolder.kt" />
<#if isHeader == true>
<instantiate from="root/src/app_package/BasicHeaderViewHolder.kt.ftl"
to="${escapeXmlAttribute(srcOut)}/${viewHolderName}HeaderViewHolder.kt" />
</#if>
<#if isFooter == true>
<instantiate from="root/src/app_package/BasicFooterViewHolder.kt.ftl"
to="${escapeXmlAttribute(srcOut)}/${viewHolderName}FooterViewHolder.kt" />
</#if>
<open file="${srcOut}/${viewHolderName}ViewHolder.kt"/>
<#if isHeader == true>
<open file="${srcOut}/${viewHolderName}HeaderViewHolder.kt"/>
</#if>
<#if isFooter == true>
<open file="${srcOut}/${viewHolderName}FooterViewHolder.kt"/>
</#if>
</recipe>