| <?xml version="1.0"?> |
| <recipe> |
| <#if !createActivity> |
| <mkdir at="${escapeXmlAttribute(srcOut)}" /> |
| </#if> |
| |
| <dependency mavenUrl="com.google.android.support:wearable:+" /> |
| <dependency mavenUrl="com.google.android.gms:play-services-wearable:+" /> |
| |
| <mkdir at="${escapeXmlAttribute(projectOut)}/libs" /> |
| |
| <merge from="settings.gradle.ftl" |
| to="${escapeXmlAttribute(topOut)}/settings.gradle" /> |
| <instantiate from="build.gradle.ftl" |
| to="${escapeXmlAttribute(projectOut)}/build.gradle" /> |
| <instantiate from="AndroidManifest.xml.ftl" |
| to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" /> |
| |
| <#if makeIgnore> |
| <copy from="module_ignore" |
| to="${escapeXmlAttribute(projectOut)}/.gitignore" /> |
| </#if> |
| <#if enableProGuard> |
| <instantiate from="proguard-rules.txt.ftl" |
| to="${escapeXmlAttribute(projectOut)}/proguard-rules.pro" /> |
| </#if> |
| <mkdir at="${escapeXmlAttribute(resOut)}/drawable" /> |
| <copy from="res/mipmap-hdpi" |
| to="${escapeXmlAttribute(resOut)}/mipmap-hdpi" /> |
| <copy from="res/mipmap-mdpi" |
| to="${escapeXmlAttribute(resOut)}/mipmap-mdpi" /> |
| <copy from="res/mipmap-xhdpi" |
| to="${escapeXmlAttribute(resOut)}/mipmap-xhdpi" /> |
| <copy from="res/mipmap-xxhdpi" |
| to="${escapeXmlAttribute(resOut)}/mipmap-xxhdpi" /> |
| |
| <instantiate from="res/values/strings.xml.ftl" |
| to="${escapeXmlAttribute(resOut)}/values/strings.xml" /> |
| </recipe> |