Joe Bowser
8f16df4c90
Adding logic to upgrade both Classic and Android Studio style project structures
2017-06-14 09:57:28 -07:00
Joe Bowser
e621edfba7
Fixing the Android Studio detection and making it automatically pick the right builder, good for upgrading Cordova
2017-06-14 09:57:27 -07:00
Joe Bowser
8391af2e8f
JsHint Fixes, deleting unused methods
2017-06-14 09:57:27 -07:00
Joe Bowser
a216f0db75
CB-11244: Changing directory creation, will most likely hide this behind a flag for the next release of Cordova-Android, and then make it default in the next major pending feedback
2017-06-14 09:57:27 -07:00
Joe Bowser
8ead919fae
Managed to get the project to mostly compile, still need to re-work the build command to add the app project
2017-06-14 09:57:26 -07:00
Joe Bowser
f790aeb8f6
Setting up the create command so we actually have all the directories in the right place, and define default variables in the top level build.gradle
2017-06-14 09:57:26 -07:00
Joe Bowser
23d8d99925
Moving Android Manifest finding to the Gradle and Studio builders.
2017-06-14 09:57:25 -07:00
filmaj
884818934f
CB-12546: on create, update the require path for certain helper modules as directory structure differs. big ol TODO dropped as it _is_ kinda weird.
2017-03-20 10:09:45 -07:00
filmaj
d40c22441f
CB-12546: move check_reqs to templates directory and update module references.
2017-03-20 10:08:36 -07:00
filmaj
eb6ada8091
CB-12546: more robust sdk location detection. ANDROID_HOME now can be set from location of either of adb
, android
or avdmanager
commands. slightly rework logic of infering ANDROID_HOME + setting up PATH to hopefully separate the logic into clearer sections. check_reqs.check_android now validates SDK Tools 25.3.1 binaries/structure. added specs for check_reqs.check_android. move android sdk version script. expose some helper functions as module methods to help with mocking.
2017-03-20 10:08:35 -07:00
filmaj
a7ef686a27
CB-12546: leverage avdmanager
if android
warns it is no longer
...
useful, which happens in Android SDK Tools 25.3.1.
explicitly set the CWD of the spawned emulator process to workaround a recent google android sdk bug.
rename android_sdk_version.js to android_sdk.js, to better reflect its contents.
have create.js copy over the android_sdk_version batch file.
2017-03-20 10:08:35 -07:00
Alexander Sorokin
e2af492a63
CB-12587 A (not so) quick fix for get_gradle_wrapper() call
2017-03-20 15:22:37 +03:00
Joe Bowser
e182e669f0
CB-12524: Put the script in the wrong spot, oops
...
This closes #367
2017-03-13 13:51:37 -07:00
Joe Bowser
6a77acdbf2
CB-12524: Thwarted by JSHint again, accidentally deleted the wrong message
2017-03-13 13:51:37 -07:00
Joe Bowser
9dbffa6ee8
CB-12524: Forgot to check for the android command on the target check
2017-03-13 13:51:37 -07:00
Joe Bowser
ab276504fd
CB-12524: Windows functionality for Gradle execution
2017-03-13 13:51:36 -07:00
Joe Bowser
3cc4e5b440
CB-12524: This now fetches the template from inside of the Android Studio directory, and falls back to a locally installed Gradle instance
2017-03-13 13:51:36 -07:00
Joe Bowser
b2664bc469
CB-12524: Test distributing a wrapper in the framework directory
2017-03-13 13:51:36 -07:00
Joe Bowser
9544783b5e
CB-11640: Fixing check_reqs.js so it actually works
...
This closes #338
2016-10-03 14:41:14 -07:00
Joe Bowser
eaf9b319ca
Tweaking the regex
2016-10-03 14:41:14 -07:00
Joe Bowser
47abde2f8d
CB-11640: Changing requirements check to ask for Java 8
2016-10-03 14:41:14 -07:00
Joe Bowser
d3cb38de29
Bump Target and Min API levels
2016-09-06 10:42:51 -07:00
Richard Knoll
9738079c42
CB-11259: Improving build output
...
This closes #305
2016-05-17 13:31:12 -07:00
Nikhil Khandelwal
5d21fb26e6
CB-11198 Skip android target sdk check. This closes #303 .
2016-05-06 10:44:14 -07:00
Vladimir Kotikov
7be9e880c2
CB-10618 Handle gradle frameworks on plugin installation/uninstallation
...
This closes #259
2016-02-17 17:56:09 +03:00
Tim Barham
1c90a77325
CB-9909 Shouldn't escape spaces in paths on Windows.. This closes #237
2015-10-30 04:58:26 -07:00
Vladimir Kotikov
78fa7374d9
CB-9880 Fixes platform update failure when upgrading from android@<4.1.0
2015-10-28 12:42:35 +03:00
Steve Gill
0ac822c577
Fixed line endings
2015-10-20 16:15:57 -07:00
Vladimir Kotikov
400282282f
CB-9782 Implements PlatformApi contract for Android platform.
...
This closes #226
2015-10-20 12:21:30 +03:00
Steve Gill
8f7bc1ffbb
CB-9428 update script now bumps up minSdkVersion to 14 if it is less than that.
2015-07-31 16:32:51 -07:00
Vladimir Kotikov
e5506d40bc
CB-9430 Fixes check_reqs failure when javac returns an extra line
2015-07-31 16:37:21 +03:00
Vladimir Kotikov
d99a21eb8d
CB-9397 Fixes minor issues with cordova requirements android
2015-07-22 16:45:49 +03:00
Vladimir Kotikov
f9ce1c607b
CB-9389 Fixes build/check_reqs hang
...
This removes gradle version check since it requires downloading and
installing of gradle distributive if it is not installed yet.
Partial revert of 4bf705a
2015-07-22 13:20:39 +03:00
Vladimir Kotikov
6b071c0fb2
CB-9286 Fixes build failure when ANDROID_HOME is not set.
2015-07-03 09:46:39 +03:00
Vladimir Kotikov
096e1e3caa
CB-8898 Report expected gradle location properly
2015-06-03 21:57:50 +03:00
Vladimir Kotikov
b5d8b51310
CB-8898 Fixes gradle check failure due to missing quotes
2015-06-03 12:37:25 +03:00
Vladimir Kotikov
4bf705a3d3
CB-8954 Adds requirements
command support to check_reqs module
2015-05-29 13:00:38 +03:00
Andrew Grieve
ee14a67795
CB-8884 Delete Eclipse tweaks from create script
2015-04-21 14:24:15 -04:00
Andrew Grieve
b0d5ffec8f
Delete unused packate "which" from package.json
2015-04-09 11:03:36 -04:00
Joe Bowser
151b86cb7b
CB-8735: Adding link as per Ian's suggestion
2015-03-23 15:54:05 -07:00
Joe Bowser
e4c9bebe34
CB-8735: Fixing the regex so that it's more compliant with Java package rules
2015-03-23 15:23:30 -07:00
Andrew Grieve
2103da7b9d
CB-8693 Delete framework/res
and framework/assets
...
They were being merged into apps unwantingly.
2015-03-17 11:56:02 -04:00
Connor Pearson
dcff8794ad
CB-7827 Add --activity-name
for bin/create
...
Also adds in nopt
2015-02-25 14:23:26 -05:00
Murat Sutunc
dbd45d4173
fix jshint errors ( close #157 )
2015-02-18 21:31:43 -05:00
Andrew Grieve
db18e1480e
CB-8469 Create gradle build files as part of create script
...
Makes project imporatable by Android Studio before first build
2015-02-12 16:15:43 -05:00
Murat Sutunc
aed4859642
CB-8410 Fix all jshint issues for Android platform ( close #153 )
2015-02-03 15:21:57 -05:00
Andrew Grieve
3b909253bb
Merge branch 'master' into 4.0.x (gradle plugin extension)
2015-01-26 16:28:31 -05:00
Andrew Grieve
a4c9bf7d30
CB-8358 Make --link an alias for --shared for create/update. Make it work with gradle
2015-01-26 10:07:14 -05:00
Andrew Grieve
c352b296da
Merge branch 'master' into 4.0.x (gradlify tests)
...
Conflicts:
test/androidTest/src/org/apache/cordova/test/junit/MenuTest.java
2015-01-20 14:55:44 -05:00
Andrew Grieve
a56c406aa3
Made check_reqs script echo ANDROID_HOME
and JAVA_HOME
when run directly
2015-01-20 14:14:39 -05:00