-
Notifications
You must be signed in to change notification settings - Fork 31
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
Prepare a capacitor 5 compatible version #32
Conversation
Thank you for your contribution. Would you be able to fix the linting errors for Android? |
Hmm... I just checked the error, but I don't understand what it wants. It may be an error with Capacitor itself? |
You missed some changes in your PR. |
@NePheus Thanks, I hadn't seen that the gradle version had been bumped again, and I had failed to remove the package attribute. It should be fixed now after the last two commits. |
I think the PR fails because JavaVersion.VERSION_11 is set in the compile options in the build.gradle. It must be version 17 after this migration. |
@NePheus Thanks for this hint. Would you happen to know how to set version 17? I tried doing so in this commit but I still get an error in the automated tests. Honestly I don't know how to fix this so any insight would be much appreciated. |
Maybe you should have a look how capacitor implemented it in their plugins. |
👋 Hello! I'm just following up from an issue over on the Cap repo. You can also checkout our plugin upgrade guide which should be updated for the latest gradle and java changes from the latest beta version here. We've also been working on an automated migration path for plugins (a simple |
Changes I made to get this working:
|
Great! But now you have many commits that would be pushed to develop. I would suggest you to rebase/sqash your commits, or otherwise create a new branch with only the commits that are needed. Thanks for your work :) |
@NePheus Thanks, I can do that if necessary, but the commits can automatically be squashed with the "Squash and merge" button here on GitHub (or |
Will be looking at the PR very soon. Just saw that capacitor v5 also released. So this will be a good time to get another version out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
For now we will keep the test step out of the pipeline as it's not used.
In the future this will be re-added as unit tests are added to the project.
Thank you for your contribution.
This PR is a follow-up to #30.
These are the changes required according to the plugin migration guide.