Skip to content

Commit

Permalink
chore: Update dependencies (#236)
Browse files Browse the repository at this point in the history
Signed-off-by: starry-shivam <[email protected]>
  • Loading branch information
starry-shivam authored Nov 18, 2024
1 parent bd9b20e commit ef1e0c4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,16 @@ aboutLibraries {


dependencies {
def composeBom = platform('androidx.compose:compose-bom:2024.09.03')
def composeBom = platform('androidx.compose:compose-bom:2024.11.00')
implementation composeBom
androidTestImplementation composeBom

// Android core components.
implementation 'androidx.core:core-ktx:1.13.1'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.6'
implementation 'androidx.activity:activity-compose:1.9.2'
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.8.6"
implementation 'androidx.core:core-ktx:1.15.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.7'
implementation 'androidx.activity:activity-compose:1.9.3'
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7"
// TODO: Migrate to type-safe navigation.
implementation "androidx.navigation:navigation-compose:2.8.0"
// Jetpack compose.
implementation "androidx.compose.ui:ui"
Expand All @@ -111,7 +112,7 @@ dependencies {
implementation "androidx.compose.runtime:runtime-livedata"
implementation "androidx.compose.material3:material3"
// Material icons.
implementation 'androidx.compose.material:material-icons-extended:1.7.3'
implementation 'androidx.compose.material:material-icons-extended:1.7.5'
// Material theme for main activity.
implementation 'com.google.android.material:material:1.12.0'
// Android 12+ splash API.
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/com/starry/myne/epub/models/EpubBook.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import kotlinx.serialization.protobuf.ProtoNumber
* @param chapters The list of chapters in the book.
* @param images The list of images in the book.
*/
@OptIn(ExperimentalSerializationApi::class)
@Serializable
data class EpubBook @OptIn(ExperimentalSerializationApi::class) constructor(
@ProtoNumber(1) val fileName: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import kotlinx.serialization.protobuf.ProtoNumber
* @param title The title of the chapter.
* @param body The body of the chapter.
*/
@OptIn(ExperimentalSerializationApi::class)
@Serializable
data class EpubChapter @OptIn(ExperimentalSerializationApi::class) constructor(
@ProtoNumber(1) val chapterId: String,
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/com/starry/myne/epub/models/EpubImage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import kotlinx.serialization.protobuf.ProtoNumber
* @param absPath The absolute path of the image.
* @param image The image data.
*/
@OptIn(ExperimentalSerializationApi::class)
@Serializable
data class EpubImage @OptIn(ExperimentalSerializationApi::class) constructor(
@ProtoNumber(1) val absPath: String,
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
ext {
kotlin_version = '2.0.0'
gradle_version = '8.7.0'
gradle_version = '8.7.2'
hilt_version = '2.51.1'
room_version = '2.6.1'
}
Expand Down

0 comments on commit ef1e0c4

Please sign in to comment.