| 1 |
<?xml version="1.0"?> |
| 2 |
<recipe> |
| 3 |
<dependency mavenUrl="com.android.support:support-v4:${buildApi}.+" /> |
| 4 |
<#if minApiLevel lt 21> |
| 5 |
<dependency mavenUrl="com.android.support:support-vector-drawable:${buildApi}.+" /> |
| 6 |
|
| 7 |
<merge from="root/build.gradle" |
| 8 |
to="${escapeXmlAttribute(projectOut)}/build.gradle" /> |
| 9 |
</#if> |
| 10 |
|
| 11 |
<#include "../common/recipe_manifest.xml.ftl" /> |
| 12 |
|
| 13 |
<copy from="root/res/xml/pref_data_sync.xml" |
| 14 |
to="${escapeXmlAttribute(resOut)}/xml/pref_data_sync.xml" /> |
| 15 |
<copy from="root/res/xml/pref_general.xml" |
| 16 |
to="${escapeXmlAttribute(resOut)}/xml/pref_general.xml" /> |
| 17 |
<copy from="root/res/xml/pref_notification.xml" |
| 18 |
to="${escapeXmlAttribute(resOut)}/xml/pref_notification.xml" /> |
| 19 |
|
| 20 |
<instantiate from="root/res/xml/pref_headers.xml.ftl" |
| 21 |
to="${escapeXmlAttribute(resOut)}/xml/pref_headers.xml" /> |
| 22 |
|
| 23 |
<copy from="root/res/drawable" |
| 24 |
to="${escapeXmlAttribute(resOut)}/drawable" /> |
| 25 |
|
| 26 |
<merge from="root/res/values/pref_strings.xml.ftl" |
| 27 |
to="${escapeXmlAttribute(resOut)}/values/strings.xml" /> |
| 28 |
|
| 29 |
<instantiate from="root/src/app_package/SettingsActivity.java.ftl" |
| 30 |
to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" /> |
| 31 |
<#if appCompatActivity> |
| 32 |
<instantiate from="root/src/app_package/AppCompatPreferenceActivity.java.ftl" |
| 33 |
to="${escapeXmlAttribute(srcOut)}/AppCompatPreferenceActivity.java" /> |
| 34 |
</#if> |
| 35 |
|
| 36 |
<open file="${escapeXmlAttribute(srcOut)}/${activityClass}.java" /> |
| 37 |
</recipe> |