Debian Codegraph @

templates/gradle-projects/NewGlassModule/template.xml

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