diff options
author | Jarle Boe | 2016-08-15 03:57:56 -0500 |
---|---|---|
committer | Jarle Boe | 2016-08-15 03:57:56 -0500 |
commit | 8b474d6e88275be1b1c724eca010809cd2519c5a (patch) | |
tree | ad3fad3cc87564cabc77b4fb6b2c663e9885e428 | |
download | bluetooth-low-energy-android-project-zero-sample-code-8b474d6e88275be1b1c724eca010809cd2519c5a.tar.gz bluetooth-low-energy-android-project-zero-sample-code-8b474d6e88275be1b1c724eca010809cd2519c5a.tar.xz bluetooth-low-energy-android-project-zero-sample-code-8b474d6e88275be1b1c724eca010809cd2519c5a.zip |
Version 1.0
-rw-r--r-- | BLE Project Zero for Android_1.0.0_manifest.html | 328 | ||||
-rw-r--r-- | build.gradle | 23 | ||||
-rw-r--r-- | gradlew.bat | 90 | ||||
-rw-r--r-- | settings.gradle | 1 |
4 files changed, 442 insertions, 0 deletions
diff --git a/BLE Project Zero for Android_1.0.0_manifest.html b/BLE Project Zero for Android_1.0.0_manifest.html new file mode 100644 index 0000000..35dc7c0 --- /dev/null +++ b/BLE Project Zero for Android_1.0.0_manifest.html | |||
@@ -0,0 +1,328 @@ | |||
1 | <!-- | ||
2 | Texas Instruments Manifest Format 2.0 | ||
3 | --> | ||
4 | |||
5 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
6 | <html> | ||
7 | |||
8 | <head> | ||
9 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> | ||
10 | <!-- @Start Style --> | ||
11 | <!-- Default style in case someone doesnt have Internet Access --> | ||
12 | <style type="text/css" id="internalStyle"> | ||
13 | body, div, p { | ||
14 | font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; | ||
15 | font-size: 13px; | ||
16 | line-height: 1.3; | ||
17 | } | ||
18 | body { | ||
19 | margin: 20px; | ||
20 | } | ||
21 | h1 { | ||
22 | font-size: 150%; | ||
23 | } | ||
24 | h2 { | ||
25 | font-size: 120%; | ||
26 | } | ||
27 | h3 { | ||
28 | font-size: 100%; | ||
29 | } | ||
30 | img { | ||
31 | border: 0px; | ||
32 | vertical-align: middle; | ||
33 | } | ||
34 | table, th, td, tr { | ||
35 | border: 1px solid black; | ||
36 | font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; | ||
37 | font-size: 13px; | ||
38 | line-height: 1.3; | ||
39 | empty-cells: show; | ||
40 | padding: 5px; | ||
41 | } | ||
42 | table { | ||
43 | border-collapse: collapse; | ||
44 | width: 100%; | ||
45 | } | ||
46 | tr { | ||
47 | page-break-inside: avoid; | ||
48 | } | ||
49 | #TIlogoLeft { | ||
50 | background-color: black; | ||
51 | padding: 0; | ||
52 | width: 20%; | ||
53 | } | ||
54 | #TIlogoRight { | ||
55 | background-color: red; | ||
56 | padding: 0; | ||
57 | } | ||
58 | #ProductName { | ||
59 | text-align: center; | ||
60 | } | ||
61 | #ReleaseDate { | ||
62 | text-align: center; | ||
63 | } | ||
64 | .LogoSection { | ||
65 | margin: 0; | ||
66 | padding: 0; | ||
67 | } | ||
68 | .HeaderSection { | ||
69 | margin: 25px 0 25px 0; | ||
70 | padding: 0; | ||
71 | } | ||
72 | .LegendSection { | ||
73 | margin: 25px 0 25px 0; | ||
74 | } | ||
75 | .ExportSection { | ||
76 | margin: 25px 0 25px 0; | ||
77 | } | ||
78 | .DisclaimerSection { | ||
79 | margin: 25px 0 25px 0; | ||
80 | } | ||
81 | .CreditSection { | ||
82 | margin: 25px 0 25px 0; | ||
83 | } | ||
84 | .LicenseSection { | ||
85 | margin: 25px 0 25px 0; | ||
86 | } | ||
87 | .ManifestTable { | ||
88 | margin: 25px 0 25px 0; | ||
89 | } | ||
90 | </style> | ||
91 | <!-- Override style from TI if they have Internet Access --> | ||
92 | <link type="text/css" rel="stylesheet" href="timanifeststyle.css"> | ||
93 | <!-- @End Style --> | ||
94 | <title>Texas Instruments Manifest</title> | ||
95 | </head> | ||
96 | |||
97 | <body><!-- Logo display, will need to fix up the URLs, this is just for testing.. Image alternate display not wporking well yet --> | ||
98 | <div class="LogoSection"> | ||
99 | <table> | ||
100 | <tbody> | ||
101 | <tr> | ||
102 | <td id="TIlogoLeft"> | ||
103 | <a href="http://www.ti.com/"> | ||
104 | <!-- img src="tilogo.gif" alt="Texas Instruments Incorporated" --> | ||
105 | <img alt="" src="data:image/gif;base64,R0lGODlh3gA2AKIAAAAAAP///7u7u29vbz8/PwYGBujo6BgYGCH5BAAAAAAALAAAAADeADYAAAP/CLrc/jDKSau9OOvNu/9gKI5kaZ5oqq5s675wLM90bd94ru987//AoHBILBqPyKRyyWw6n9CodHorDALYLIHKJVqz2q44eAUHtoDB4DBu48rgLQErcNtnX7NhMDcICIB3gix5ZmtqAAZZew8EAo+QkQIDNVZqiIM1cHGKZ4YPAmaiAWw0c1gFmZqjB3SbZ6kNe6WhsAeOlDV0qjSFAXUAp7lwuREFtVsFgMvLB7fNAM+BCs+lDLd8BNYOuxfV22PL0RiWlwO1u3kDqejAEsjR6GB86FsHoYwA6gxWnVgGEegUuIelWJk6jswAGlXQ36J1xBSoQwfulIEDr/6l+VeK/+AehrAGOHRnAWRBbbWegckXAV6wk4AeRQtDQBEaBYsYlMl2hUCsBt0iKgilT9EfAlfO7SmzdKkrkQUT/fqZSECqLCSlntH375IAA1tqGUilLIBSNVnU+NmJNBRVChlF1QwAdlRWBy5P3QymwCLBYhs73cTHYBq3X33nDQ2wcWuBgef0FRD4GK3jU3VCZZUJAIw1OGg0P+4bFiubOWoOsEP1+KvZn3wurDbZ6lfcuw3yYkFjRSeYzRe7ARAbW0K3PmGIMi0OFDG1Mmha+RnufAHn3xL9ha6uTZ/rXagZ1GKAtTsHeWb+FEQvHILuX4+mLzj2j2r4TrFesTwMbE5Cuv8JzbTSGuRV1xgfUJFC3WbA0JWFalcItpgf8YU2yT/qATaedent5cBb8zk0DzIitgfKbonRFV9Wp2xl3UXq5Ccibp05598BnRigiAIJmrZAexkJQIuBwzX4CB3SQbeYQkPVAUco63DI2HzsAdYAiAvEZdYlaVQ5wXs3+bQAjovEUoBRR9LVAFLaPXCcY/KMqVRasQB5kiJgLcYgTkJiuCWKC2ZpIY/z/LRhYefkBAGW1HTyRy2UjObLHxSAOZ948EUVGCSC3SLZbB7iZKOLc2GRRgMH/VhdHnJwFCgD8iEGx0VKvpqbO+hoaCppEg3UiTES1CTkhNaQ+Qs4LQGql07/lET4mIQ6SvTSVGZ9Bmhz/bkYzK+PFKtpje6wumRm1wrLZzSdQASoZvyswdmSuk7p616HfkjBTxZBQucFgqXCFKdn1NpiUlQJhs8kteBWG0AbATbXS2tBlaeoVkmJRova4KkGPmhMFdiSYmq8cbTRYhrlkiHaNufJ9mIgVqEXnAOJM5JE4sgjudQ8bF82x+cKBP4Iiedecyjgx2/WtMNjjhcL9h+S4xq9RYJgsbeeUbmdrPTSQbPccsyijEXOfI8xyuinVJH1wdkS/MQ2Bc5Iq08DyHYwGglvPyCilbz0fa8GLV7r9+Btb7CJ14Qnzg8HpdKoOOF5Py752JNXvrblNphzEHnmnF/a+ecTbA465qKPXnnppkuOeuqKr8465K+z7nrsfc9Ouyq23z5I7rrfwXvvbhSQAAA7" /> | ||
106 | </a> | ||
107 | </td> | ||
108 | <td id="TILogoRight"> | ||
109 | <!-- img src="titagline.gif" alt="Technology for Innovators(tm)"--> | ||
110 | <img alt="" src="data:image/gif;base64,R0lGODlhOgEaALMAAP8AAP////92dv+3t/+Njf/W1v/t7f8hIf/19f+jo//Hx/8/P/9cXP/j4//6+v/+/iH5BAAAAAAALAAAAAA6ARoAAAT/EMhJq7046827/2AojmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEgsGo/IpHLJbDqft0NDMCBQodis1jcADBKE7nYcCpjPgU5AQBKkVYOHAeRudqtXsh60/vRHdSoBBCGBNAkLe4o4f2psgG8pjR6GM5OLmDB/DA0GBoQADAgICRIBBQUOYgwGCg2kEgudBgUHAIGcBg0MsZ0NCnMGYgsBtqEGAbCynrW3AQONgcIFBgiErK6wAAfUtLbCscWiowoAyLDczLZu0AIJCAYOoJn0G38ObAwPEvLEts/O1vUhsA8AAjGonEmA9W6hGAVpEjiQoKBAhT8HJSRkVyEQQAAJ//a5YeMPQIFyACqCnJjSIgFCB4oB+HOSokWOAB6wIWCxnk8MfYh5QsYg5sVHfQLVMSqhztJIxWIaC6QzJy8KfZgqrNT0zR+nUNl8fSMvZ6IDwJCJRfoI7IR4Cub9nDsha6RwR02xUZpGq1utUWUq9FKgYV6/abgOHjt45tquEgY0SDDHoJg+fxhXolKNrmfH/EoR5EdAKmjQfB1qvPmGIQIJ3g4gC2egVF7LqxtP8Ng2cViTKFUCIGbNFKEEmB/VbDlYdqLRn+du8oTg6jjbmfe+CbTM2+BcuySgbQVtQoOCt7s3U8wbsqGs3ZppZLnylwFe8Uql825ogANPckUnYDoOCogxQGXADajggjcw4AA8DSSyTQASMmjhhTQscBWGHHbo4YcghijiiCSWaOKJKKao4oostugiFBEAADs=" /> | ||
111 | </td> | ||
112 | </tr> | ||
113 | </tbody> | ||
114 | </table> | ||
115 | </div><div class="HeaderSection"> | ||
116 | <h1 id="ProductName"> | ||
117 | <!-- @Start Product --> | ||
118 | BLE Project Zero for Android Manifest | ||
119 | <!-- @End Product --> | ||
120 | </h1> | ||
121 | |||
122 | <h2 id="ReleaseDate"> | ||
123 | <!-- @Start Date --> | ||
124 | 05-24-2016 | ||
125 | <!-- @End Date --> | ||
126 | </h2> | ||
127 | |||
128 | |||
129 | <h2 id="SRASID"> | ||
130 | <!-- @Start Date --> | ||
131 | Manifest ID - SRAS00002897 | ||
132 | <!-- @End Date --> | ||
133 | </h2> | ||
134 | </div><div class="LegendSection"> | ||
135 | <h2>Legend</h2> | ||
136 | <p>(explanation of the fields in the Manifest Table below)</p> | ||
137 | <table> | ||
138 | <tbody> | ||
139 | <tr> | ||
140 | <td> | ||
141 | <b>Software Name </b> | ||
142 | </td> | ||
143 | <td> | ||
144 | The name of the application or file | ||
145 | </td> | ||
146 | </tr> | ||
147 | <tr> | ||
148 | <td> | ||
149 | <b>Version</b> | ||
150 | </td> | ||
151 | <td> | ||
152 | Version of the application or file | ||
153 | </td> | ||
154 | </tr> | ||
155 | <tr> | ||
156 | <td> | ||
157 | <b>License Type</b> | ||
158 | </td> | ||
159 | <td> | ||
160 | Type of license(s) under which TI will be providing | ||
161 | software to the licensee (e.g. BSD-3-Clause, GPL-2.0, TI TSPA License, TI | ||
162 | Commercial License). The license could be under Commercial terms or Open Source. See Open Source Reference License Disclaimer in | ||
163 | the Disclaimers Section. Whenever possible, TI will use an <a href="http://spdx.org/licenses/"> SPDX Short Identifier </a> for an Open Source | ||
164 | License. TI Commercial license terms are not usually included in the manifest and are conveyed through a variety | ||
165 | of means such as a clickwrap license upon install, | ||
166 | a signed license agreement and so forth. | ||
167 | </td> | ||
168 | </tr> | ||
169 | <tr> | ||
170 | <td> | ||
171 | <b>Location</b> | ||
172 | </td> | ||
173 | <td> | ||
174 | The directory name and path on the media or a specific file where the Software is located. Typically fully qualified path names | ||
175 | are not used and instead the relevant top level directory of the application is given. | ||
176 | A notation often used in the manifests is [as installed]/directory/*. Note that the asterisk implies that all | ||
177 | files under that directory are licensed as the License Type field denotes. Any exceptions to this will | ||
178 | generally be denoted as [as installed]/directory/* except as noted below which means as shown in subsequent rows of | ||
179 | the manifest. | ||
180 | </td> | ||
181 | </tr> | ||
182 | <tr> | ||
183 | <td> | ||
184 | <b>Delivered As</b> | ||
185 | </td> | ||
186 | <td> | ||
187 | This field will either be “Source”, “Binary” or “Source | ||
188 | and Binary” and is the primary form the content of the Software is delivered | ||
189 | in. If the Software is delivered in an archive format, this field | ||
190 | applies to the contents of the archive. If the word Limited is used | ||
191 | with Source, as in “Limited Source” or “Limited Source and Binary” then | ||
192 | only portions of the Source for the application are provided. | ||
193 | </td> | ||
194 | </tr> | ||
195 | <tr> | ||
196 | <td> | ||
197 | <b>Modified by TI</b> | ||
198 | </td> | ||
199 | <td> | ||
200 | This field will either be “Yes” or “No”. A “Yes” means | ||
201 | TI has made changes to the Software. A “No” means TI has not made any | ||
202 | changes. Note: This field is not applicable for Software “Obtained | ||
203 | from” TI. | ||
204 | </td> | ||
205 | </tr> | ||
206 | <tr> | ||
207 | <td> | ||
208 | <b>Obtained from</b> | ||
209 | </td> | ||
210 | <td> | ||
211 | This field specifies from where or from whom TI obtained | ||
212 | the Software. It may be a URL to an Open Source site, a 3<sup>rd</sup> | ||
213 | party licensor, or TI. See Links Disclaimer in the Disclaimers | ||
214 | Section. | ||
215 | </td> | ||
216 | </tr> | ||
217 | </tbody> | ||
218 | </table> | ||
219 | </div><div class="DisclaimerSection"> | ||
220 | <h2>Disclaimers</h2> | ||
221 | <h3>Export Control Classification Number (ECCN)</h3> | ||
222 | <p>Any use of ECCNs listed in the Manifest is at the user’s risk | ||
223 | and without recourse to TI. Your | ||
224 | company, as the exporter of record, is responsible for determining the | ||
225 | correct classification of any item at | ||
226 | the time of export. Any export classification by TI of Software is for | ||
227 | TI’s internal use only and shall not be construed as a representation | ||
228 | or warranty | ||
229 | regarding the proper export classification for such Software or whether | ||
230 | an export | ||
231 | license or other documentation is required for exporting such Software</p> | ||
232 | <h3>Links in the Manifest</h3> | ||
233 | <p>Any | ||
234 | links appearing on this Manifest | ||
235 | (for example in the “Obtained from” field) were verified at the time | ||
236 | the Manifest was created. TI makes no guarantee that any listed links | ||
237 | will | ||
238 | remain active in the future.</p> | ||
239 | <h3>Open Source License References</h3> | ||
240 | <p>Your company is responsible for confirming the | ||
241 | applicable license terms for any open source Software | ||
242 | listed in this Manifest that was not “Obtained from” TI. Any open | ||
243 | source license | ||
244 | specified in this Manifest for Software that was | ||
245 | not “Obtained from” TI is for TI’s internal use only and shall not be | ||
246 | construed as a representation or warranty regarding the proper open | ||
247 | source license terms | ||
248 | for such Software.</p> | ||
249 | </div><div class="ExportSection"> | ||
250 | <h2>Export Information</h2> | ||
251 | <p>ECCN for Software included in this release:</p> | ||
252 | Publicly Available - Open Source or TI TSPA License | ||
253 | </div><div class="ManifestTable"> | ||
254 | <!-- h2>Manifest Table</h2 --> | ||
255 | |||
256 | <table> | ||
257 | <tbody> | ||
258 | |||
259 | <h2> | ||
260 | BLE Project Zero for Android Manifest Table | ||
261 | </h2> | ||
262 | |||
263 | |||
264 | <p> | ||
265 | |||
266 | See the Legend above for a description of these columns. | ||
267 | |||
268 | </p> | ||
269 | |||
270 | <table id="targetpackages" name="targetpackages"> | ||
271 | <thead> | ||
272 | <tr> | ||
273 | <td><b>Software Name</b></td> | ||
274 | <td><b>Version</b></td> | ||
275 | <td><b>License Type</b></td> | ||
276 | <td><b>Delivered As</b></td> | ||
277 | <td><b>Modified by TI</b></td> | ||
278 | <td></td> | ||
279 | <td></td> | ||
280 | </tr> | ||
281 | </thead> | ||
282 | |||
283 | |||
284 | <tbody> | ||
285 | <tr> | ||
286 | <td id="name" name="name" rowspan="2"> | ||
287 | Project Zero application | ||
288 | </td> | ||
289 | <td id="version" name="version" rowspan="2"> | ||
290 | 1.0.0 | ||
291 | </td> | ||
292 | <td id="license" name="license" rowspan="2"> | ||
293 | BSD-3-Clause | ||
294 | </td> | ||
295 | <td id="delivered" name="delivered" rowspan="2"> | ||
296 | Source and Binary | ||
297 | </td> | ||
298 | <td id="modified" name="modified" rowspan="2"> | ||
299 | N/A | ||
300 | </td> | ||
301 | <td><b>Location</b></td> | ||
302 | <td id="location" name="location"> | ||
303 | ./app/src, ./app/build/outputs/apk | ||
304 | </td> | ||
305 | </tr> | ||
306 | <tr> | ||
307 | <td><b>Obtained from</b></td> | ||
308 | <td id="obtained" name="obtained"> | ||
309 | TI | ||
310 | </td> | ||
311 | </tr> | ||
312 | |||
313 | </tbody> | ||
314 | </table> | ||
315 | |||
316 | </p> | ||
317 | </p> | ||
318 | <p> | ||
319 | |||
320 | </div><div class="CreditSection"> | ||
321 | <h2>Credits</h2> | ||
322 | <BR> <BR><BR><BR><BR> | ||
323 | </div><div class="LicenseSection"> | ||
324 | <h2>Licenses</h2> | ||
325 | <BR><h3><b> BLE Project Zero for Android Licenses </b></h3><BR> <BR><BR><BR>BSD-3-Clause license:<BR>Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/<BR><BR>Redistribution and use in source and binary forms, with or without<BR>modification, are permitted provided that the following conditions<BR>are met:<BR><BR> Redistributions of source code must retain the above copyright<BR> notice, this list of conditions and the following disclaimer.<BR><BR> Redistributions in binary form must reproduce the above copyright<BR> notice, this list of conditions and the following disclaimer in the<BR> documentation and/or other materials provided with the<BR> distribution.<BR><BR> Neither the name of Texas Instruments Incorporated nor the names of<BR> its contributors may be used to endorse or promote products derived<BR> from this software without specific prior written permission.<BR><BR>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<BR>"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<BR>LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<BR>A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT<BR>OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,<BR>SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT<BR>LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,<BR>DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY<BR>THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT<BR>(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE<BR>OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<BR><BR><BR> | ||
326 | </div> | ||
327 | |||
328 | </body></html> \ No newline at end of file | ||
diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..03bced9 --- /dev/null +++ b/build.gradle | |||
@@ -0,0 +1,23 @@ | |||
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
2 | |||
3 | buildscript { | ||
4 | repositories { | ||
5 | jcenter() | ||
6 | } | ||
7 | dependencies { | ||
8 | classpath 'com.android.tools.build:gradle:2.1.0' | ||
9 | |||
10 | // NOTE: Do not place your application dependencies here; they belong | ||
11 | // in the individual module build.gradle files | ||
12 | } | ||
13 | } | ||
14 | |||
15 | allprojects { | ||
16 | repositories { | ||
17 | jcenter() | ||
18 | } | ||
19 | } | ||
20 | |||
21 | task clean(type: Delete) { | ||
22 | delete rootProject.buildDir | ||
23 | } | ||
diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..8a0b282 --- /dev/null +++ b/gradlew.bat | |||
@@ -0,0 +1,90 @@ | |||
1 | @if "%DEBUG%" == "" @echo off | ||
2 | @rem ########################################################################## | ||
3 | @rem | ||
4 | @rem Gradle startup script for Windows | ||
5 | @rem | ||
6 | @rem ########################################################################## | ||
7 | |||
8 | @rem Set local scope for the variables with windows NT shell | ||
9 | if "%OS%"=="Windows_NT" setlocal | ||
10 | |||
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
12 | set DEFAULT_JVM_OPTS= | ||
13 | |||
14 | set DIRNAME=%~dp0 | ||
15 | if "%DIRNAME%" == "" set DIRNAME=. | ||
16 | set APP_BASE_NAME=%~n0 | ||
17 | set APP_HOME=%DIRNAME% | ||
18 | |||
19 | @rem Find java.exe | ||
20 | if defined JAVA_HOME goto findJavaFromJavaHome | ||
21 | |||
22 | set JAVA_EXE=java.exe | ||
23 | %JAVA_EXE% -version >NUL 2>&1 | ||
24 | if "%ERRORLEVEL%" == "0" goto init | ||
25 | |||
26 | echo. | ||
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
28 | echo. | ||
29 | echo Please set the JAVA_HOME variable in your environment to match the | ||
30 | echo location of your Java installation. | ||
31 | |||
32 | goto fail | ||
33 | |||
34 | :findJavaFromJavaHome | ||
35 | set JAVA_HOME=%JAVA_HOME:"=% | ||
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe | ||
37 | |||
38 | if exist "%JAVA_EXE%" goto init | ||
39 | |||
40 | echo. | ||
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | ||
42 | echo. | ||
43 | echo Please set the JAVA_HOME variable in your environment to match the | ||
44 | echo location of your Java installation. | ||
45 | |||
46 | goto fail | ||
47 | |||
48 | :init | ||
49 | @rem Get command-line arguments, handling Windowz variants | ||
50 | |||
51 | if not "%OS%" == "Windows_NT" goto win9xME_args | ||
52 | if "%@eval[2+2]" == "4" goto 4NT_args | ||
53 | |||
54 | :win9xME_args | ||
55 | @rem Slurp the command line arguments. | ||
56 | set CMD_LINE_ARGS= | ||
57 | set _SKIP=2 | ||
58 | |||
59 | :win9xME_args_slurp | ||
60 | if "x%~1" == "x" goto execute | ||
61 | |||
62 | set CMD_LINE_ARGS=%* | ||
63 | goto execute | ||
64 | |||
65 | :4NT_args | ||
66 | @rem Get arguments from the 4NT Shell from JP Software | ||
67 | set CMD_LINE_ARGS=%$ | ||
68 | |||
69 | :execute | ||
70 | @rem Setup the command line | ||
71 | |||
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | ||
73 | |||
74 | @rem Execute Gradle | ||
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | ||
76 | |||
77 | :end | ||
78 | @rem End local scope for the variables with windows NT shell | ||
79 | if "%ERRORLEVEL%"=="0" goto mainEnd | ||
80 | |||
81 | :fail | ||
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of | ||
83 | rem the _cmd.exe /c_ return code! | ||
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 | ||
85 | exit /b 1 | ||
86 | |||
87 | :mainEnd | ||
88 | if "%OS%"=="Windows_NT" endlocal | ||
89 | |||
90 | :omega | ||
diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..e7b4def --- /dev/null +++ b/settings.gradle | |||
@@ -0,0 +1 @@ | |||
include ':app' | |||