appium-espresso-driver 2.26.4 → 2.26.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/espresso-server/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/espresso-server/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/npm-shrinkwrap.json +79 -51
- package/package.json +3 -3
- package/espresso-server/gradle.properties +0 -26
- package/espresso-server/gradlew +0 -185
- package/espresso-server/gradlew.bat +0 -89
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.26.6](https://github.com/appium/appium-espresso-driver/compare/v2.26.5...v2.26.6) (2023-10-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* package ([#933](https://github.com/appium/appium-espresso-driver/issues/933)) ([b580870](https://github.com/appium/appium-espresso-driver/commit/b5808709a3f85c26e6a1042b02eff490f460f237))
|
|
7
|
+
|
|
8
|
+
## [2.26.5](https://github.com/appium/appium-espresso-driver/compare/v2.26.4...v2.26.5) (2023-10-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Reverts
|
|
12
|
+
|
|
13
|
+
* Revert "chore(deps-dev): bump semantic-release from 20.1.3 to 22.0.5 (#916)" (#932) ([8b4fb51](https://github.com/appium/appium-espresso-driver/commit/8b4fb51caf348de463e5a0d73c35db8e4bb26f89)), closes [#916](https://github.com/appium/appium-espresso-driver/issues/916) [#932](https://github.com/appium/appium-espresso-driver/issues/932)
|
|
14
|
+
|
|
1
15
|
## [2.26.4](https://github.com/appium/appium-espresso-driver/compare/v2.26.3...v2.26.4) (2023-10-19)
|
|
2
16
|
|
|
3
17
|
|
|
Binary file
|
|
Binary file
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "2.26.
|
|
3
|
+
"version": "2.26.6",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-espresso-driver",
|
|
9
|
-
"version": "2.26.
|
|
9
|
+
"version": "2.26.6",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"appium-adb": "^11.0.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"mocha": "^10.0.0",
|
|
55
55
|
"pre-commit": "^1.2.2",
|
|
56
56
|
"rimraf": "^5.0.0",
|
|
57
|
-
"semantic-release": "^
|
|
57
|
+
"semantic-release": "^21.1.0",
|
|
58
58
|
"sinon": "^16.0.0",
|
|
59
59
|
"ts-node": "^10.9.1",
|
|
60
60
|
"typescript": "^5.1.6",
|
|
@@ -851,7 +851,7 @@
|
|
|
851
851
|
}
|
|
852
852
|
},
|
|
853
853
|
"node_modules/@types/node": {
|
|
854
|
-
"version": "20.8.
|
|
854
|
+
"version": "20.8.8",
|
|
855
855
|
"license": "MIT",
|
|
856
856
|
"dependencies": {
|
|
857
857
|
"undici-types": "~5.25.1"
|
|
@@ -1052,7 +1052,7 @@
|
|
|
1052
1052
|
}
|
|
1053
1053
|
},
|
|
1054
1054
|
"node_modules/appium-adb": {
|
|
1055
|
-
"version": "11.0.
|
|
1055
|
+
"version": "11.0.3",
|
|
1056
1056
|
"license": "Apache-2.0",
|
|
1057
1057
|
"dependencies": {
|
|
1058
1058
|
"@appium/support": "^4.0.0",
|
|
@@ -1073,10 +1073,10 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
},
|
|
1075
1075
|
"node_modules/appium-android-driver": {
|
|
1076
|
-
"version": "7.1.
|
|
1076
|
+
"version": "7.1.7",
|
|
1077
1077
|
"license": "Apache-2.0",
|
|
1078
1078
|
"dependencies": {
|
|
1079
|
-
"appium-adb": "^
|
|
1079
|
+
"appium-adb": "^11.0.1",
|
|
1080
1080
|
"appium-chromedriver": "^5.5.1",
|
|
1081
1081
|
"asyncbox": "^2.8.0",
|
|
1082
1082
|
"axios": "^1.x",
|
|
@@ -1101,27 +1101,6 @@
|
|
|
1101
1101
|
"appium": "^2.0.0-beta.40"
|
|
1102
1102
|
}
|
|
1103
1103
|
},
|
|
1104
|
-
"node_modules/appium-android-driver/node_modules/appium-adb": {
|
|
1105
|
-
"version": "10.0.0",
|
|
1106
|
-
"license": "Apache-2.0",
|
|
1107
|
-
"dependencies": {
|
|
1108
|
-
"@appium/support": "^4.0.0",
|
|
1109
|
-
"adbkit-apkreader": "^3.1.2",
|
|
1110
|
-
"async-lock": "^1.0.0",
|
|
1111
|
-
"asyncbox": "^2.6.0",
|
|
1112
|
-
"bluebird": "^3.4.7",
|
|
1113
|
-
"ini": "^4.1.1",
|
|
1114
|
-
"lodash": "^4.0.0",
|
|
1115
|
-
"lru-cache": "^10.0.0",
|
|
1116
|
-
"semver": "^7.0.0",
|
|
1117
|
-
"source-map-support": "^0.x",
|
|
1118
|
-
"teen_process": "^2.0.1"
|
|
1119
|
-
},
|
|
1120
|
-
"engines": {
|
|
1121
|
-
"node": ">=14",
|
|
1122
|
-
"npm": ">=8"
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
1104
|
"node_modules/appium-android-driver/node_modules/type-fest": {
|
|
1126
1105
|
"version": "4.5.0",
|
|
1127
1106
|
"license": "(MIT OR CC0-1.0)",
|
|
@@ -1133,7 +1112,7 @@
|
|
|
1133
1112
|
}
|
|
1134
1113
|
},
|
|
1135
1114
|
"node_modules/appium-chromedriver": {
|
|
1136
|
-
"version": "5.6.
|
|
1115
|
+
"version": "5.6.19",
|
|
1137
1116
|
"hasInstallScript": true,
|
|
1138
1117
|
"license": "Apache-2.0",
|
|
1139
1118
|
"dependencies": {
|
|
@@ -1487,11 +1466,12 @@
|
|
|
1487
1466
|
}
|
|
1488
1467
|
},
|
|
1489
1468
|
"node_modules/call-bind": {
|
|
1490
|
-
"version": "1.0.
|
|
1469
|
+
"version": "1.0.5",
|
|
1491
1470
|
"license": "MIT",
|
|
1492
1471
|
"dependencies": {
|
|
1493
|
-
"function-bind": "^1.1.
|
|
1494
|
-
"get-intrinsic": "^1.
|
|
1472
|
+
"function-bind": "^1.1.2",
|
|
1473
|
+
"get-intrinsic": "^1.2.1",
|
|
1474
|
+
"set-function-length": "^1.1.1"
|
|
1495
1475
|
},
|
|
1496
1476
|
"funding": {
|
|
1497
1477
|
"url": "https://github.com/sponsors/ljharb"
|
|
@@ -1850,6 +1830,18 @@
|
|
|
1850
1830
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
1851
1831
|
}
|
|
1852
1832
|
},
|
|
1833
|
+
"node_modules/define-data-property": {
|
|
1834
|
+
"version": "1.1.1",
|
|
1835
|
+
"license": "MIT",
|
|
1836
|
+
"dependencies": {
|
|
1837
|
+
"get-intrinsic": "^1.2.1",
|
|
1838
|
+
"gopd": "^1.0.1",
|
|
1839
|
+
"has-property-descriptors": "^1.0.0"
|
|
1840
|
+
},
|
|
1841
|
+
"engines": {
|
|
1842
|
+
"node": ">= 0.4"
|
|
1843
|
+
}
|
|
1844
|
+
},
|
|
1853
1845
|
"node_modules/delayed-stream": {
|
|
1854
1846
|
"version": "1.0.0",
|
|
1855
1847
|
"license": "MIT",
|
|
@@ -2344,13 +2336,13 @@
|
|
|
2344
2336
|
}
|
|
2345
2337
|
},
|
|
2346
2338
|
"node_modules/get-intrinsic": {
|
|
2347
|
-
"version": "1.2.
|
|
2339
|
+
"version": "1.2.2",
|
|
2348
2340
|
"license": "MIT",
|
|
2349
2341
|
"dependencies": {
|
|
2350
|
-
"function-bind": "^1.1.
|
|
2351
|
-
"has": "^1.0.3",
|
|
2342
|
+
"function-bind": "^1.1.2",
|
|
2352
2343
|
"has-proto": "^1.0.1",
|
|
2353
|
-
"has-symbols": "^1.0.3"
|
|
2344
|
+
"has-symbols": "^1.0.3",
|
|
2345
|
+
"hasown": "^2.0.0"
|
|
2354
2346
|
},
|
|
2355
2347
|
"funding": {
|
|
2356
2348
|
"url": "https://github.com/sponsors/ljharb"
|
|
@@ -2411,6 +2403,16 @@
|
|
|
2411
2403
|
"url": "https://github.com/sponsors/isaacs"
|
|
2412
2404
|
}
|
|
2413
2405
|
},
|
|
2406
|
+
"node_modules/gopd": {
|
|
2407
|
+
"version": "1.0.1",
|
|
2408
|
+
"license": "MIT",
|
|
2409
|
+
"dependencies": {
|
|
2410
|
+
"get-intrinsic": "^1.1.3"
|
|
2411
|
+
},
|
|
2412
|
+
"funding": {
|
|
2413
|
+
"url": "https://github.com/sponsors/ljharb"
|
|
2414
|
+
}
|
|
2415
|
+
},
|
|
2414
2416
|
"node_modules/graceful-fs": {
|
|
2415
2417
|
"version": "4.2.11",
|
|
2416
2418
|
"license": "ISC"
|
|
@@ -2440,13 +2442,6 @@
|
|
|
2440
2442
|
"uglify-js": "^3.1.4"
|
|
2441
2443
|
}
|
|
2442
2444
|
},
|
|
2443
|
-
"node_modules/has": {
|
|
2444
|
-
"version": "1.0.4",
|
|
2445
|
-
"license": "MIT",
|
|
2446
|
-
"engines": {
|
|
2447
|
-
"node": ">= 0.4.0"
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
2445
|
"node_modules/has-flag": {
|
|
2451
2446
|
"version": "4.0.0",
|
|
2452
2447
|
"license": "MIT",
|
|
@@ -2454,6 +2449,16 @@
|
|
|
2454
2449
|
"node": ">=8"
|
|
2455
2450
|
}
|
|
2456
2451
|
},
|
|
2452
|
+
"node_modules/has-property-descriptors": {
|
|
2453
|
+
"version": "1.0.1",
|
|
2454
|
+
"license": "MIT",
|
|
2455
|
+
"dependencies": {
|
|
2456
|
+
"get-intrinsic": "^1.2.2"
|
|
2457
|
+
},
|
|
2458
|
+
"funding": {
|
|
2459
|
+
"url": "https://github.com/sponsors/ljharb"
|
|
2460
|
+
}
|
|
2461
|
+
},
|
|
2457
2462
|
"node_modules/has-proto": {
|
|
2458
2463
|
"version": "1.0.1",
|
|
2459
2464
|
"license": "MIT",
|
|
@@ -2478,6 +2483,16 @@
|
|
|
2478
2483
|
"version": "2.0.1",
|
|
2479
2484
|
"license": "ISC"
|
|
2480
2485
|
},
|
|
2486
|
+
"node_modules/hasown": {
|
|
2487
|
+
"version": "2.0.0",
|
|
2488
|
+
"license": "MIT",
|
|
2489
|
+
"dependencies": {
|
|
2490
|
+
"function-bind": "^1.1.2"
|
|
2491
|
+
},
|
|
2492
|
+
"engines": {
|
|
2493
|
+
"node": ">= 0.4"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2481
2496
|
"node_modules/hosted-git-info": {
|
|
2482
2497
|
"version": "2.8.9",
|
|
2483
2498
|
"license": "ISC"
|
|
@@ -2615,10 +2630,10 @@
|
|
|
2615
2630
|
"license": "MIT"
|
|
2616
2631
|
},
|
|
2617
2632
|
"node_modules/is-core-module": {
|
|
2618
|
-
"version": "2.13.
|
|
2633
|
+
"version": "2.13.1",
|
|
2619
2634
|
"license": "MIT",
|
|
2620
2635
|
"dependencies": {
|
|
2621
|
-
"
|
|
2636
|
+
"hasown": "^2.0.0"
|
|
2622
2637
|
},
|
|
2623
2638
|
"funding": {
|
|
2624
2639
|
"url": "https://github.com/sponsors/ljharb"
|
|
@@ -3172,7 +3187,7 @@
|
|
|
3172
3187
|
}
|
|
3173
3188
|
},
|
|
3174
3189
|
"node_modules/object-inspect": {
|
|
3175
|
-
"version": "1.13.
|
|
3190
|
+
"version": "1.13.1",
|
|
3176
3191
|
"license": "MIT",
|
|
3177
3192
|
"funding": {
|
|
3178
3193
|
"url": "https://github.com/sponsors/ljharb"
|
|
@@ -3768,10 +3783,6 @@
|
|
|
3768
3783
|
"node": ">=10"
|
|
3769
3784
|
}
|
|
3770
3785
|
},
|
|
3771
|
-
"node_modules/semver/node_modules/yallist": {
|
|
3772
|
-
"version": "4.0.0",
|
|
3773
|
-
"license": "ISC"
|
|
3774
|
-
},
|
|
3775
3786
|
"node_modules/send": {
|
|
3776
3787
|
"version": "0.18.0",
|
|
3777
3788
|
"license": "MIT",
|
|
@@ -3858,6 +3869,19 @@
|
|
|
3858
3869
|
"version": "2.0.0",
|
|
3859
3870
|
"license": "ISC"
|
|
3860
3871
|
},
|
|
3872
|
+
"node_modules/set-function-length": {
|
|
3873
|
+
"version": "1.1.1",
|
|
3874
|
+
"license": "MIT",
|
|
3875
|
+
"dependencies": {
|
|
3876
|
+
"define-data-property": "^1.1.1",
|
|
3877
|
+
"get-intrinsic": "^1.2.1",
|
|
3878
|
+
"gopd": "^1.0.1",
|
|
3879
|
+
"has-property-descriptors": "^1.0.0"
|
|
3880
|
+
},
|
|
3881
|
+
"engines": {
|
|
3882
|
+
"node": ">= 0.4"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3861
3885
|
"node_modules/setprototypeof": {
|
|
3862
3886
|
"version": "1.2.0",
|
|
3863
3887
|
"license": "ISC"
|
|
@@ -4229,7 +4253,7 @@
|
|
|
4229
4253
|
}
|
|
4230
4254
|
},
|
|
4231
4255
|
"node_modules/teen_process": {
|
|
4232
|
-
"version": "2.0.
|
|
4256
|
+
"version": "2.0.67",
|
|
4233
4257
|
"license": "Apache-2.0",
|
|
4234
4258
|
"dependencies": {
|
|
4235
4259
|
"bluebird": "3.7.2",
|
|
@@ -4638,6 +4662,10 @@
|
|
|
4638
4662
|
"node": ">=10"
|
|
4639
4663
|
}
|
|
4640
4664
|
},
|
|
4665
|
+
"node_modules/yallist": {
|
|
4666
|
+
"version": "4.0.0",
|
|
4667
|
+
"license": "ISC"
|
|
4668
|
+
},
|
|
4641
4669
|
"node_modules/yaml": {
|
|
4642
4670
|
"version": "2.3.3",
|
|
4643
4671
|
"extraneous": true,
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.26.
|
|
10
|
+
"version": "2.26.6",
|
|
11
11
|
"author": "Appium Contributors",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"espresso-server/app/build/outputs/apk",
|
|
58
58
|
"espresso-server/app/build.gradle.kts",
|
|
59
59
|
"espresso-server/app/proguard-rules.pro",
|
|
60
|
-
"espresso-server/gradle
|
|
60
|
+
"espresso-server/gradle",
|
|
61
61
|
"espresso-server/build.gradle.kts",
|
|
62
62
|
"espresso-server/settings.gradle.kts",
|
|
63
63
|
"espresso-server/lint.xml",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"mocha": "^10.0.0",
|
|
142
142
|
"pre-commit": "^1.2.2",
|
|
143
143
|
"rimraf": "^5.0.0",
|
|
144
|
-
"semantic-release": "^
|
|
144
|
+
"semantic-release": "^21.1.0",
|
|
145
145
|
"sinon": "^16.0.0",
|
|
146
146
|
"ts-node": "^10.9.1",
|
|
147
147
|
"typescript": "^5.1.6",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Project-wide Gradle settings.
|
|
2
|
-
|
|
3
|
-
# IDE (e.g. Android Studio) users:
|
|
4
|
-
# Gradle settings configured through the IDE *will override*
|
|
5
|
-
# any settings specified in this file.
|
|
6
|
-
|
|
7
|
-
# For more details on how to configure your build environment visit
|
|
8
|
-
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
9
|
-
|
|
10
|
-
# Specifies the JVM arguments used for the daemon process.
|
|
11
|
-
# The setting is particularly useful for tweaking memory settings.
|
|
12
|
-
org.gradle.jvmargs=-Xmx1536m
|
|
13
|
-
|
|
14
|
-
# When configured, Gradle will run in incubating parallel mode.
|
|
15
|
-
# This option should only be used with decoupled projects. More details, visit
|
|
16
|
-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
17
|
-
# org.gradle.parallel=true
|
|
18
|
-
|
|
19
|
-
org.gradle.configureondemand=false
|
|
20
|
-
|
|
21
|
-
android.useAndroidX=true
|
|
22
|
-
|
|
23
|
-
org.gradle.vfs.watch=true
|
|
24
|
-
org.gradle.caching=true
|
|
25
|
-
# https://youtrack.jetbrains.com/issue/KT-46708
|
|
26
|
-
kotlin.stdlib.default.dependency=false
|
package/espresso-server/gradlew
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
|
|
3
|
-
#
|
|
4
|
-
# Copyright 2015 the original author or authors.
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
##############################################################################
|
|
20
|
-
##
|
|
21
|
-
## Gradle start up script for UN*X
|
|
22
|
-
##
|
|
23
|
-
##############################################################################
|
|
24
|
-
|
|
25
|
-
# Attempt to set APP_HOME
|
|
26
|
-
# Resolve links: $0 may be a link
|
|
27
|
-
PRG="$0"
|
|
28
|
-
# Need this for relative symlinks.
|
|
29
|
-
while [ -h "$PRG" ] ; do
|
|
30
|
-
ls=`ls -ld "$PRG"`
|
|
31
|
-
link=`expr "$ls" : '.*-> \(.*\)$'`
|
|
32
|
-
if expr "$link" : '/.*' > /dev/null; then
|
|
33
|
-
PRG="$link"
|
|
34
|
-
else
|
|
35
|
-
PRG=`dirname "$PRG"`"/$link"
|
|
36
|
-
fi
|
|
37
|
-
done
|
|
38
|
-
SAVED="`pwd`"
|
|
39
|
-
cd "`dirname \"$PRG\"`/" >/dev/null
|
|
40
|
-
APP_HOME="`pwd -P`"
|
|
41
|
-
cd "$SAVED" >/dev/null
|
|
42
|
-
|
|
43
|
-
APP_NAME="Gradle"
|
|
44
|
-
APP_BASE_NAME=`basename "$0"`
|
|
45
|
-
|
|
46
|
-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
47
|
-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
48
|
-
|
|
49
|
-
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
50
|
-
MAX_FD="maximum"
|
|
51
|
-
|
|
52
|
-
warn () {
|
|
53
|
-
echo "$*"
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
die () {
|
|
57
|
-
echo
|
|
58
|
-
echo "$*"
|
|
59
|
-
echo
|
|
60
|
-
exit 1
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
# OS specific support (must be 'true' or 'false').
|
|
64
|
-
cygwin=false
|
|
65
|
-
msys=false
|
|
66
|
-
darwin=false
|
|
67
|
-
nonstop=false
|
|
68
|
-
case "`uname`" in
|
|
69
|
-
CYGWIN* )
|
|
70
|
-
cygwin=true
|
|
71
|
-
;;
|
|
72
|
-
Darwin* )
|
|
73
|
-
darwin=true
|
|
74
|
-
;;
|
|
75
|
-
MINGW* )
|
|
76
|
-
msys=true
|
|
77
|
-
;;
|
|
78
|
-
NONSTOP* )
|
|
79
|
-
nonstop=true
|
|
80
|
-
;;
|
|
81
|
-
esac
|
|
82
|
-
|
|
83
|
-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
# Determine the Java command to use to start the JVM.
|
|
87
|
-
if [ -n "$JAVA_HOME" ] ; then
|
|
88
|
-
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
89
|
-
# IBM's JDK on AIX uses strange locations for the executables
|
|
90
|
-
JAVACMD="$JAVA_HOME/jre/sh/java"
|
|
91
|
-
else
|
|
92
|
-
JAVACMD="$JAVA_HOME/bin/java"
|
|
93
|
-
fi
|
|
94
|
-
if [ ! -x "$JAVACMD" ] ; then
|
|
95
|
-
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
|
96
|
-
|
|
97
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
98
|
-
location of your Java installation."
|
|
99
|
-
fi
|
|
100
|
-
else
|
|
101
|
-
JAVACMD="java"
|
|
102
|
-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
103
|
-
|
|
104
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
105
|
-
location of your Java installation."
|
|
106
|
-
fi
|
|
107
|
-
|
|
108
|
-
# Increase the maximum file descriptors if we can.
|
|
109
|
-
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
|
110
|
-
MAX_FD_LIMIT=`ulimit -H -n`
|
|
111
|
-
if [ $? -eq 0 ] ; then
|
|
112
|
-
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
|
113
|
-
MAX_FD="$MAX_FD_LIMIT"
|
|
114
|
-
fi
|
|
115
|
-
ulimit -n $MAX_FD
|
|
116
|
-
if [ $? -ne 0 ] ; then
|
|
117
|
-
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
|
118
|
-
fi
|
|
119
|
-
else
|
|
120
|
-
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
|
121
|
-
fi
|
|
122
|
-
fi
|
|
123
|
-
|
|
124
|
-
# For Darwin, add options to specify how the application appears in the dock
|
|
125
|
-
if $darwin; then
|
|
126
|
-
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
127
|
-
fi
|
|
128
|
-
|
|
129
|
-
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
130
|
-
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
|
131
|
-
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
132
|
-
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
133
|
-
|
|
134
|
-
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
135
|
-
|
|
136
|
-
# We build the pattern for arguments to be converted via cygpath
|
|
137
|
-
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
138
|
-
SEP=""
|
|
139
|
-
for dir in $ROOTDIRSRAW ; do
|
|
140
|
-
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
141
|
-
SEP="|"
|
|
142
|
-
done
|
|
143
|
-
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
144
|
-
# Add a user-defined pattern to the cygpath arguments
|
|
145
|
-
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
146
|
-
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
147
|
-
fi
|
|
148
|
-
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
149
|
-
i=0
|
|
150
|
-
for arg in "$@" ; do
|
|
151
|
-
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
|
152
|
-
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
|
153
|
-
|
|
154
|
-
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
|
155
|
-
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
|
156
|
-
else
|
|
157
|
-
eval `echo args$i`="\"$arg\""
|
|
158
|
-
fi
|
|
159
|
-
i=`expr $i + 1`
|
|
160
|
-
done
|
|
161
|
-
case $i in
|
|
162
|
-
0) set -- ;;
|
|
163
|
-
1) set -- "$args0" ;;
|
|
164
|
-
2) set -- "$args0" "$args1" ;;
|
|
165
|
-
3) set -- "$args0" "$args1" "$args2" ;;
|
|
166
|
-
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
167
|
-
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
168
|
-
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
169
|
-
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
170
|
-
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
171
|
-
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
172
|
-
esac
|
|
173
|
-
fi
|
|
174
|
-
|
|
175
|
-
# Escape application args
|
|
176
|
-
save () {
|
|
177
|
-
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
|
178
|
-
echo " "
|
|
179
|
-
}
|
|
180
|
-
APP_ARGS=`save "$@"`
|
|
181
|
-
|
|
182
|
-
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
|
183
|
-
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
|
184
|
-
|
|
185
|
-
exec "$JAVACMD" "$@"
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
@rem
|
|
2
|
-
@rem Copyright 2015 the original author or authors.
|
|
3
|
-
@rem
|
|
4
|
-
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
@rem you may not use this file except in compliance with the License.
|
|
6
|
-
@rem You may obtain a copy of the License at
|
|
7
|
-
@rem
|
|
8
|
-
@rem https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
@rem
|
|
10
|
-
@rem Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
@rem See the License for the specific language governing permissions and
|
|
14
|
-
@rem limitations under the License.
|
|
15
|
-
@rem
|
|
16
|
-
|
|
17
|
-
@if "%DEBUG%" == "" @echo off
|
|
18
|
-
@rem ##########################################################################
|
|
19
|
-
@rem
|
|
20
|
-
@rem Gradle startup script for Windows
|
|
21
|
-
@rem
|
|
22
|
-
@rem ##########################################################################
|
|
23
|
-
|
|
24
|
-
@rem Set local scope for the variables with windows NT shell
|
|
25
|
-
if "%OS%"=="Windows_NT" setlocal
|
|
26
|
-
|
|
27
|
-
set DIRNAME=%~dp0
|
|
28
|
-
if "%DIRNAME%" == "" set DIRNAME=.
|
|
29
|
-
set APP_BASE_NAME=%~n0
|
|
30
|
-
set APP_HOME=%DIRNAME%
|
|
31
|
-
|
|
32
|
-
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
|
33
|
-
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
|
34
|
-
|
|
35
|
-
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
36
|
-
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
|
37
|
-
|
|
38
|
-
@rem Find java.exe
|
|
39
|
-
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
40
|
-
|
|
41
|
-
set JAVA_EXE=java.exe
|
|
42
|
-
%JAVA_EXE% -version >NUL 2>&1
|
|
43
|
-
if "%ERRORLEVEL%" == "0" goto execute
|
|
44
|
-
|
|
45
|
-
echo.
|
|
46
|
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
47
|
-
echo.
|
|
48
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
49
|
-
echo location of your Java installation.
|
|
50
|
-
|
|
51
|
-
goto fail
|
|
52
|
-
|
|
53
|
-
:findJavaFromJavaHome
|
|
54
|
-
set JAVA_HOME=%JAVA_HOME:"=%
|
|
55
|
-
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
56
|
-
|
|
57
|
-
if exist "%JAVA_EXE%" goto execute
|
|
58
|
-
|
|
59
|
-
echo.
|
|
60
|
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
61
|
-
echo.
|
|
62
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
63
|
-
echo location of your Java installation.
|
|
64
|
-
|
|
65
|
-
goto fail
|
|
66
|
-
|
|
67
|
-
:execute
|
|
68
|
-
@rem Setup the command line
|
|
69
|
-
|
|
70
|
-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
@rem Execute Gradle
|
|
74
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
|
75
|
-
|
|
76
|
-
:end
|
|
77
|
-
@rem End local scope for the variables with windows NT shell
|
|
78
|
-
if "%ERRORLEVEL%"=="0" goto mainEnd
|
|
79
|
-
|
|
80
|
-
:fail
|
|
81
|
-
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
82
|
-
rem the _cmd.exe /c_ return code!
|
|
83
|
-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
|
84
|
-
exit /b 1
|
|
85
|
-
|
|
86
|
-
:mainEnd
|
|
87
|
-
if "%OS%"=="Windows_NT" endlocal
|
|
88
|
-
|
|
89
|
-
:omega
|