| 1 |
<?xml version="1.0"?> |
| 2 |
<recipe> |
| 3 |
|
| 4 |
<dependency mavenUrl="com.google.android.gms:play-services-wearable:+" /> |
| 5 |
<dependency mavenUrl="com.google.android.gms:play-services-maps:+" /> |
| 6 |
<dependency mavenUrl="com.google.android.support:wearable:+" /> |
| 7 |
|
| 8 |
|
| 9 |
<merge from="root/AndroidManifest.xml.ftl" |
| 10 |
to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" /> |
| 11 |
<merge from="root/AndroidManifestPermissions.xml" |
| 12 |
to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" /> |
| 13 |
<#if appManifestOut??> |
| 14 |
<merge from="root/AndroidManifestPermissions.xml" |
| 15 |
to="${escapeXmlAttribute(appManifestOut)}/AndroidManifest.xml" /> |
| 16 |
</#if> |
| 17 |
|
| 18 |
<instantiate from="root/res/layout/activity_map.xml.ftl" |
| 19 |
to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" /> |
| 20 |
|
| 21 |
<merge from="root/res/values/strings.xml.ftl" |
| 22 |
to="${escapeXmlAttribute(resOut)}/values/strings.xml" /> |
| 23 |
|
| 24 |
<instantiate from="root/res/layout/activity_map.xml.ftl" |
| 25 |
to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" /> |
| 26 |
|
| 27 |
<instantiate from="root/src/app_package/MapActivity.java.ftl" |
| 28 |
to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" /> |
| 29 |
|
| 30 |
<open file="${escapeXmlAttribute(srcOut)}/${activityClass}.java" /> |
| 31 |
|
| 32 |
<merge from="root/debugRes/values/google_maps_api.xml.ftl" |
| 33 |
to="${escapeXmlAttribute(debugResOut)}/values/google_maps_api.xml" /> |
| 34 |
|
| 35 |
<merge from="root/releaseRes/values/google_maps_api.xml.ftl" |
| 36 |
to="${escapeXmlAttribute(releaseResOut)}/values/google_maps_api.xml" /> |
| 37 |
|
| 38 |
<!-- Display the API key instructions. --> |
| 39 |
<open file="${escapeXmlAttribute(debugResOut)}/values/google_maps_api.xml" /> |
| 40 |
</recipe> |