-
Notifications
You must be signed in to change notification settings - Fork 530
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 Android SDK target to 14 #7233
Conversation
993bf86
to
99b72cb
Compare
app-android/app/build.gradle
Outdated
def room_version = '2.6.1' | ||
def lifecycle_version = '2.8.3' | ||
def activity_version = '1.9.0' | ||
def coroutines_version = '1.8.1' | ||
|
||
implementation "de.tutao:tutasdk" | ||
|
||
// Important: cannot be updated without additional measures as Android 6 and 7 do not have Java 9 |
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.
should delete this comment now
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.
Removed.
def lifecycle_version = "2.4.1" | ||
def activity_version = "1.4.0" | ||
def coroutines_version = "1.8.0" | ||
def room_version = '2.6.1' |
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.
The option to enable Kotlin code generation (or “Kotlin CodeGen”) is now available in Room KSP. (4297ec0). To turn on Kotlin CodeGen in Room, add the room.generateKotlin option name to your processor options for KSP. For more details on how to pass processor options for KSP, see the KSP documentation.
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.
I added an option to let KSP generate Kotlin in gradle.
app-android/app/build.gradle
Outdated
|
||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1' | ||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.3' | ||
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" |
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.
we can throw away livedata! maybe!!
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.
Yes it is removed.
99b72cb
to
bb33170
Compare
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.
Please prefix both commits with [android]
bb33170
to
f98037e
Compare
Update AGP, Kotlin and all dependencies versions Workaround AGP bug with rust plugin Adapt to KSP argument Remove unnecessary Android SDK version checks
Fix lifecycle related calls
f98037e
to
bcba38a
Compare
Close https://github.com/tutao/private-issues/issues/207