1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
<?xml version="1.0"?>
<template
format="5"
revision="2"
name="Glass Module"
description="Creates a new Glass module."
minApi="19"
minBuildApi="19">
<category value="Application" />
<formfactor value="Glass" />
<thumbs>
<thumb>template_new_project.png</thumb>
</thumbs>
<parameter
id="packageName"
name="Package name"
type="string"
constraints="app_package|nonempty"
default="com.mycompany.myapp" />
<parameter
id="appTitle"
name="Module title"
type="string"
constraints="nonempty"
default="My Module" />
<parameter
id="minApi"
name="Minimum API level"
type="string"
constraints="apilevel"/>
<!--
Usually the same as minApi, but when minApi is a code name this will be the corresponding
API level
-->
<parameter
id="minApiLevel"
name="Minimum API level"
type="string"
constraints="apilevel"
default="21" />
<parameter
id="targetApi"
name="Target API level"
type="string"
constraints="apilevel"/>
<!--
Usually the same as targetApi, but when targeting a preview platform this is the code name instead
-->
<parameter
id="targetApiString"
name="Target API"
type="string"
constraints="apilevel"/>
<parameter
id="buildApi"
name="Build API level"
type="string"
constraints="apilevel"/>
<!--
Usually the same as buildApi, but when targeting a preview platform this is the code name instead
-->
<parameter
id="buildApiString"
name="Build API level"
type="string"
constraints="apilevel" />
<parameter
id="copyIcons"
name="Include launcher icons"
type="boolean"
default="true" />
<parameter
id="makeIgnore"
name="Create .gitignore file"
type="boolean"
default="true" />
<parameter
id="enableProGuard"
name="Enable ProGuard"
type="boolean"
default="true" />
<globals file="globals.xml.ftl" />
<execute file="recipe.xml.ftl" />
</template>
|