-
Notifications
You must be signed in to change notification settings - Fork 85
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
Update to Kotlin 2.0 and SDK 35 #525
Conversation
@mickael-menu This causes the app to crash with the below error when opening an epub. Declaring R2RTLViewPager as public fixes it. I don't know why, that old code just goes in a circle. Possibly related to https://youtrack.jetbrains.com/issue/KT-63050/K1-K2-IllegalAccessError-when-accessing-a-private-field-isnt-detected-at-compile-time. Even though the OP there was using Kotlin 1.6.21 when reporting it.
|
We could set it |
Fix will be in 2.0.20. |
@mickael-menu There is new behavior regarding non-public constructors of data classes and the Applicable to: |
@stevenzeck I agree, and that's a welcoming change!
All the types under |
I misread the phases. The @ConsistentCopyVisibility annotation (or -Xconsistent-data-class-copy-visibility flag) are only be necessary until Phase 3. I added the flag to the navigator and LCP gradle files. |
What about |
We might need something like that on non-reading activities:
That's what's AndroidStudio suggests now in new empty view projects. |
I tested it in the emulator, and yes padding was needed for the status bar. The BottomNavigationView handles that behavior change. I did notice an issue in light mode when |
In my understanding, if you don't call |
|
Sounds weird. That's something we've been using for a long time at different places. We'll see during tests. |
Closing in favor of splitting this out. |
Do not merge unless ready to accept Kotlin 2.0. Opening this to make sure the checks pass.
gradle.properties
. It won't be ready until Room is updated to 2.7.0 (currently in alpha), and a KSP2 issue with@TypeConverters
.testImplementation
andandroidTestImplementation
ones since they weren't being used. They can always be added back.-Xconsistent-data-class-copy-visibility
. See KT-11914.