Raphael von der Grün
393dad6349
Lint JS files w/out extension too ( #453 )
...
Prior to this change, JS files without extension had not been linted.
To match them, we need a combination of positive and negative globbing
that does not mix well with the existing file selection for linting. Thus, we use
npm-run-all to run two ESLint invocations unconditionally in sequence
while still preserving the error code.
* Lint JS w/out extension too
* Fix newly surfaced linting errors
* Make use of npm-run-all for test script too
2018-06-18 23:48:02 +02:00
Raphael von der Grün
2c3db19310
Emit log event instead of logging directly
2018-06-16 20:08:44 +02:00
jcesarmobile
472ab626d6
Merge pull request #449 from jcesarmobile/CB-14125
...
CB-14125:(android) Increase old plugin compatibility
2018-06-13 23:00:55 +02:00
Raphael von der Grün
bf29fe0e10
CB-14101 Fix Java version check for Java >= 9 ( #446 )
...
This also checks that we have exactly 1.8 since nothing else works with
the Android SDK. The user facing error was updated accordingly.
2018-06-12 22:18:55 +02:00
Julio César
38d0e684f1
CB-14127: (android) Move google maven repo ahead of jcenter
2018-06-11 23:12:58 +02:00
Julio César
83e9aefff5
CB-14125:(android) Increase old plugin compatibility
2018-06-11 00:48:24 +02:00
Raphael von der Grün
02ee925103
Remove obsolete jshint comments ( #444 )
2018-05-21 18:02:14 +08:00
Julio César
fe7629e8fc
CB-14038 (android): fix false positive detecting project type
2018-04-18 13:52:04 +02:00
Joe Bowser
5c4f8ca246
CB-14008: Updating Gradle Libraries to work with Android Studio 3.1.0
2018-04-04 13:54:39 -07:00
Joe Bowser
5af6b016c1
CB-13830: Add handlers for plugins that use non-Java source files, such as Camera
2018-03-19 13:20:09 -07:00
Steve Gill
eddad666ff
Update JS snapshot to version 7.2.0-dev (via coho)
2018-02-21 10:52:02 -08:00
Steve Gill
ca9a25e860
Set VERSION to 7.2.0-dev (via coho)
2018-02-21 10:52:01 -08:00
Simon MacDonald
3a339ba37f
⬆️ Bump gradle tools dependency to 3.0.1 for project template
2018-02-15 17:42:10 -05:00
sunday18
8563c8beef
Update android_sdk.js
...
Update `android_sdk.js` to support Android Oreo (API 26) emulator
2018-01-26 06:21:53 +00:00
Joe Bowser
6cc4896690
Merge pull request #426 from infil00p/api_level_bump
...
CB-13724: Bump Target SDK to API 27
2018-01-17 11:48:51 -08:00
Joe Bowser
3a6923988d
CB-13646: End of an era. Using the deprecated NDK by default breaks the build. Crosswalk users need to specify the Gradle parameters to keep it working.
2018-01-08 14:52:46 -08:00
Joe Bowser
0d1692681f
CB-13724: Updated the Android Tooling required for the latest version on both the test project, and the template
2018-01-04 15:35:04 -08:00
Joe Bowser
5c93c214b9
CB-13724: Bump Target SDK to API 27
2018-01-02 14:38:03 -08:00
Chris Alfano
109112ae75
CB-13571: (android) Prevent crash with unrecognized android version
...
Fixes issue where commands that list images will crash when an image with a version not present in `android-versions` is encountered, as is presently the case with API 27:
```
cordova run android --list
Available android devices:
Available android virtual devices:
LEVEL: null
ERROR: TypeError: Cannot read property 'semver' of null
An unexpected error has occured while running list-emulator-images with code 2: Error: /home/chris/Repositories/acp-guidelines/cordova/platforms/android/cordova/lib/list-emulator-images: Command failed with exit code 2
```
Signed-off-by: Chris Alfano <chris@jarv.us>
2017-12-22 15:56:26 -05:00
Joe Bowser
74e9e213d6
Forgot to bump AndroidManifest.xml for play store reasons
2017-12-12 12:49:54 -08:00
Joe Bowser
d8d92cae61
CB-13621: eslint error
2017-11-30 11:08:39 -08:00
Joe Bowser
52fd32c837
CB-13621: Wrote similar warning to CB-12948 on iOS. We no longer support update.
2017-11-30 10:40:07 -08:00
Joe Bowser
061f08bc03
Update JS snapshot to version 7.1.0-dev (via coho)
2017-11-30 10:01:30 -08:00
Joe Bowser
735bc98243
Set VERSION to 7.1.0-dev (via coho)
2017-11-30 10:01:28 -08:00
Darryl Pogue
8484f7b906
CB-13615: Fix paths to signing properties files
2017-11-29 10:56:05 -08:00
Joe Bowser
c6cfeb15f4
Fixed typo in the gradle file
2017-11-28 14:59:50 -08:00
Joe Bowser
adc7dab377
CB-13612: eslint fix
2017-11-28 13:09:07 -08:00
Joe Bowser
a9e01f4309
CB-13612: Fix the remapper so that XML files copy over and the Camera works again.
2017-11-28 12:57:00 -08:00
Joe Bowser
4863320e45
Merge branch 'master' into StudioProjectCompat
2017-11-28 10:35:45 -08:00
Darryl Pogue
9056e5a2dc
CB-13610: Compress the default app assets
2017-11-27 22:46:02 -08:00
Joe Bowser
2b20802dbb
Merge branch 'master' into StudioProjectCompat
...
Merge by hand CB-8976
2017-11-27 14:10:59 -08:00
Joe Bowser
a972d1ef62
Merge pull request #401 from fabulant/CB-8976
...
CB-8976: Added the `cdvVersionCodeForceAbiDigit` property
2017-11-27 14:02:20 -08:00
Joe Bowser
30c3713dca
Merge branch 'master' into StudioProjectCompat
2017-11-27 11:42:25 -08:00
Joe Bowser
6f58d4c474
Merge pull request #352 from Icenium/include-armeabi-dir
...
CB-12291: (android) Add x86_64, arm64 and armeabi architecture flavors
2017-11-27 11:35:47 -08:00
Joe Bowser
9d9bac397b
CB-13602: We were setting the path wrong, this is hacky but it works
2017-11-22 13:18:38 -08:00
Joe Bowser
d8f10c33dc
CB-13601: Fixing lint error and mis-spelling of variable
2017-11-22 11:47:05 -08:00
Joe Bowser
5d57eff612
CB-13601: Fixing the standalone run scripts to make sure this works without using the CLI
2017-11-22 11:39:40 -08:00
Joe Bowser
43956c1bc8
Merge branch 'master' into StudioProjectCompat
...
Fixing conflict caused by merging #417 into master
2017-11-20 18:21:49 -08:00
David Strauß
5d99e50c4a
CB-13580: (android) fix lint errors
2017-11-16 01:54:04 +01:00
David Strauß
aaeb630eb1
CB-13580: fix build for multiple apks (different product flavors)
2017-11-16 01:27:20 +01:00
Joe Bowser
3acba59494
CB-13297: This just works once you bump the project structure. Java 1.8 compatibility baked-in
2017-11-15 11:39:32 -08:00
Joe Bowser
b77febc7a7
Merge branch 'master' into StudioProjectCompat
2017-11-07 10:52:37 -08:00
Joe Bowser
83601dca2f
Update JS snapshot to version 6.5.0-dev (via coho)
2017-11-06 11:44:23 -08:00
Joe Bowser
05aeaf1bd2
Set VERSION to 6.5.0-dev (via coho)
2017-11-06 11:44:20 -08:00
Joe Bowser
b83c3b3684
CB-13530: Removing debug console.logs
2017-11-02 14:45:51 -07:00
Joe Bowser
5502ddaf0d
CB-13530: This fixes the basic APK installation
2017-11-02 14:42:39 -07:00
Joe Bowser
f54336eb61
eslint fix
2017-11-01 17:18:41 -07:00
Joe Bowser
18d6884522
CB-11244: Android Studio 3 work, things have changed with how the platform is built
2017-11-01 17:09:00 -07:00
Joe Bowser
8ba0109e55
Completing merge which includes the fix for Android Studio 3.0
2017-11-01 13:46:23 -07:00
Joe Bowser
f50ca85a95
CB-11244: Found bug where the gradle subproject changes weren't actually getting written to the correct gradle file
2017-11-01 13:22:22 -07:00