-
Notifications
You must be signed in to change notification settings - Fork 467
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
Bump room to 2.4.2, allowing arm64 jdk compile #773
Bump room to 2.4.2, allowing arm64 jdk compile #773
Conversation
I don't really know why it would still include jetified-kotlin-reflect-1.5.31.jar in the test. Maybe a cache problem? |
I think this is because our test app is still on 1.5. I'm looking into bumping to 1.6 now: |
Bumped and test passes now. Thanks for the help |
@krizzu: Can you please review this? I think you had some objections to bumping Room in the past, but it currently looks like it will break on react-native 0.68 + M1. Also, I can't test this because step 1 fails for me 😛 |
Side note: It will only fail on m1 if using an arm64 jdk. |
@tido64 Great, I hoped to get an Kotlin update in test-app soon 🙏 @danilobuerger This looks great. My only concern in bumping Room, was because the 2.4.0+ requires compileSdk 31 and I did not want to force anyone (even if it's recommended to use latest one). That's why I gave an option to set Room version through properties. But I think it might be good to go up now, especially with RN 0.68 💪 |
Btw, @danilobuerger , any particular reason for Zulu dist? Or it's just personal preference? |
Starting with room 2.4.0-alpha03 arm64 is supported allowing native compile with a arm64 jdk.
@krizzu Just to get my hands on an arm64 jdk 11 build. For example temurin 11 does not have an arm64 build yet. |
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.
This is great, thank you
Make sense, I see temurin has arm64 available for jdk17 only. Thanks! |
adoptium/adoptium#96 for reference on temurin 11 arm64 |
@tido64 If you don't have anything else, feel free to merge |
Sure, only question I have is whether this should be a minor or patch bump. It feels like it should be minor since we bumped the SDK. What do you think? |
@tido64 Yes, I also think this is |
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.
Thanks for taking the time to investigate and fix this ❤️
🎉 This PR is included in version 1.17.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I mentioned this to @tido64 on discord - but in the release notes you should definitely note that compileSdkVersion 31 strictly requires JDK11. JDK8 will suffer internal compiler errors when confronted with the 31 SDK given the compileSdkVersion bump required and JDK11 bump required, might be a major version but that's a philosophical question :-) |
thanks @mikehardy , I updated release notes to also include a workaround, to use old version of Room/Kotlin, if one is not ready to upgrade |
Summary
Starting with room 2.4.0-alpha03 arm64 is supported allowing native compile with a arm64 jdk.
Test Plan