-
Notifications
You must be signed in to change notification settings - Fork 914
chore: Update build gradle version to 3.4.1 and updated to OpenCV4.0.1 #2760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@iamareebjamal @abishekvashok @sauravvishal8797 please review. |
|
LGTM, but why 4.0.1 Since this is a big PR, why not upgrade to latest 4.1.0 instead of creating another big PR for it Secondly, can't the files in I suppose you have copied them from it, right? Why keep code in the repo that we don't maintain and have to update on each library update? |
|
@iamareebjamal yes, we can omit the I tried with 4.1.0 after 4.0.1 earlier, but it gave me some errors which were not faced with 4.0.1. So I sent the pr with 4.0.1. I'll try 4.1.0 once again. |
|
And also omit the |
|
@iamareebjamal omitting the |
|
Your PR should have about 10 files changed once you have omitted the include directory. There should be no changes in include directory in the PR |
|
@iamareebjamal yes sir. I added |
|
It obviously will be. You have to delete it. Also, don't squash and force push because if it doesn't work, you won't be able to revert |
|
Also, don't delete the folder in this PR, just revert the changes |
@iamareebjamal sir but |
|
Because they were never added in git Once tracked, always tracked, doesn't matter if you add them in .gitignore after. Read about git tracked files and gitignore |
|
Ohk sir. I'll delete the folder and push the changes. Thanks :) |
|
|
Don't delete. The point is to not have 630 changes in this PR. It should only have changes in makefiles and download scripts |
|
@iamareebjamal Sir but without deleting how will we make ignore the |
Yes
All changes should be there except any change in include folder. The opencv script must be updated to copy required files to the include folder |
@iamareebjamal If I do this, then this error will happen: |
|
Still 400+ changes. Same can be done with In future, we'll use open cv aar like https://github.com/piruin/opencv-android So that we don't need this utterly useless step and redundant code in the repo and can manage the dependency in sane way like other "normal" android libraries Not doing it currently because the latest version is 3.4.1 |
|
@iamareebjamal openCVLibrary401 is not copied and pasted. It has to imported as a separate module. I think we should leave this because some changes have to made in the manifests and gradle files of both app and openCV module. This might not be very friendly for first-time contributors. |
Yes sir, this is a very good idea. |
|
@iamareebjamal sir, is it ok now? |
OK, but rename this to |
|
Ok sir, on it. |
@iamareebjamal done. |
Fixed #2744
Changes: Updated build gradle version beeing and openCV version to 4.0.1 to include 64-bit native libraries.