Skip to content

Commit

Permalink
Update libraries versions and fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hide1202 committed Nov 11, 2023
1 parent d5c3f0a commit 2d6eba3
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 33 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ext.versions = [
android: [
compileSdk: 33,
compileSdk: 34,
minSdk : 21,
targetSdk : 29
]
Expand Down
53 changes: 26 additions & 27 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,41 @@
androidGradlePlugin = "8.1.3"
gradleVersionsPlugin = "0.36.0"
kotlin = "1.8.22"
dagger = "2.44"
kotlinxCoroutines = "1.5.1"
dagger = "2.48.1"
kotlinxCoroutines = "1.7.3"

androidxCore = "1.6.0"
androidxActivity = "1.5.1"
androidxFragment = "1.5.7"
androidxAppcompat = "1.3.0"
androidxRecyclerview = "1.2.1"
androidxSwiperefreshlayout = "1.2.0-alpha01"
androidxLifecycle = "2.4.0"
androidxMaterial = "1.4.0"
androidxConstraintlayout = "2.0.4"
androidxStartup = "1.0.0"
androidxExtJunit = "1.1.3"
androidxEspressoCore = "3.4.0"
androidxHilt = "1.0.0"
androidxPaging = "3.0.0"
androidxNavigation = "2.3.5"
androidxRoom = "2.3.0"
androidxDatastore = "1.0.0-alpha08"
androidxWorkmanager = "2.5.0"
androidxCore = "1.12.0"
androidxActivity = "1.8.0"
androidxFragment = "1.6.2"
androidxAppcompat = "1.6.1"
androidxRecyclerview = "1.3.2"
androidxSwiperefreshlayout = "1.1.0"
androidxLifecycle = "2.6.2"
androidxMaterial = "1.10.0"
androidxConstraintlayout = "2.1.4"
androidxStartup = "1.1.1"
androidxExtJunit = "1.1.5"
androidxEspressoCore = "3.5.1"
androidxHilt = "1.1.0"
androidxPaging = "3.2.1"
androidxNavigation = "2.7.5"
androidxRoom = "2.6.0"
androidxDatastore = "1.0.0"
androidxWorkmanager = "2.8.1"

testJunit = "4.13.2"
testStrikt = "0.31.0"
testStrikt = "0.34.1"
testAndroidTestCore = "2.2.0"
testAndroidCore = "1.5.0"
testMockk = "1.12.0"
testRobolectric = "4.9"
testMockk = "1.13.8"
testRobolectric = "4.11.1"

moshi = "1.12.0"
moshi = "1.15.0"
okhttp = "4.12.0"
retrofit = "2.9.0"
coroutine_core = "1.3.7"
arrow = "0.11.0"
timber = "4.7.1"
glide = "4.12.0"
timber = "5.0.1"
glide = "4.16.0"

[libraries]
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ data class SearchResultModel(
val id: Int,
val name: String,
val logoUrl: String?
)
) : Serializable
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,17 @@ class GlideImageView @JvmOverloads constructor(
override fun onLoadFailed(
e: GlideException?,
model: Any?,
target: Target<Drawable>?,
target: Target<Drawable>,
isFirstResource: Boolean
): Boolean = false.also {
loadedImageUri = url
}

override fun onResourceReady(
resource: Drawable?,
model: Any?,
resource: Drawable,
model: Any,
target: Target<Drawable>?,
dataSource: DataSource?,
dataSource: DataSource,
isFirstResource: Boolean
): Boolean = false.also {
loadedImageUri = url
Expand Down

0 comments on commit 2d6eba3

Please sign in to comment.