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