Skip to content

Commit 0254340

Browse files
committed
updated dependencies, fix conflicts
1 parent 4e83814 commit 0254340

6 files changed

Lines changed: 34 additions & 32 deletions

File tree

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ apply plugin: 'dagger.hilt.android.plugin'
2626

2727
android {
2828
defaultConfig {
29-
versionCode = 4
30-
versionName = "1.3"
29+
versionCode = 5
30+
versionName = "2.5"
3131
applicationId "kasem.sm.slime"
3232
}
3333
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
33
ext {
4-
kspVersion = '1.7.20-1.0.6'
4+
kspVersion = '1.8.0-1.0.8'
55
}
66
repositories {
77
google()

common-test-utils/src/main/java/kasem/sm/common_test_utils/AssertionUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
package kasem.sm.common_test_utils
66

7-
import app.cash.turbine.FlowTurbine
7+
import app.cash.turbine.ReceiveTurbine
88
import app.cash.turbine.test
99
import com.google.common.truth.Truth
1010
import kasem.sm.core.domain.Stage
@@ -24,7 +24,7 @@ infix fun Boolean.shouldBe(bool: Boolean) {
2424
}
2525

2626
suspend inline fun Flow<Stage>.shouldBeInOrder(
27-
crossinline scope: suspend FlowTurbine<Stage>.() -> Unit
27+
crossinline scope: suspend ReceiveTurbine<Stage>.() -> Unit
2828
) {
2929
test {
3030
scope()

gradle/libs.versions.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@ accompanist = "0.26.4-beta"
33
annotation = "1.5.0"
44
coil = "2.2.2"
55
commonmark = "0.19.0"
6-
compose = "1.3.0-rc01"
7-
composeActivity = "1.7.0-alpha01"
8-
composeCompiler = "1.3.2"
9-
composeMaterial3 = "1.0.0-rc01"
10-
composeUiTest = "1.3.0-rc01"
6+
compose = "1.4.0-alpha04"
7+
composeActivity = "1.7.0-alpha03"
8+
composeCompiler = "1.4.0"
9+
composeMaterial3 = "1.1.0-alpha04"
10+
composeUiTest = "1.4.0-alpha04"
1111
corektx = "1.9.0"
1212
coreTesting = "2.1.0"
1313
coroutines = "1.6.4"
14-
crypto = "1.1.0-alpha03"
15-
destination = "1.7.21-beta"
16-
dynamicLink = "21.0.2"
14+
crypto = "1.1.0-alpha04"
15+
destination = "1.8.33-beta"
16+
dynamicLink = "21.1.0"
1717
espressoCore = "3.5.0-beta01"
18-
gradleplugin = "7.2.1"
18+
gradleplugin = "7.4.0"
1919
glance = "1.0.0-alpha05"
2020
gms = "4.3.10"
21-
hilt = "2.44"
21+
hilt = "2.44.2"
2222
hiltNavigationCompose = "1.0.0"
2323
hiltWork = "1.0.0"
2424
javaxInject = "1"
2525
junit = "4.13.2"
2626
junitExt = "1.1.4-beta01"
27-
kotlin = "1.7.20"
28-
ktor = "2.1.2"
27+
kotlin = "1.8.0"
28+
ktor = "2.2.2"
2929
lifecycle = "2.6.0-alpha02"
30-
material = "1.8.0-alpha01"
30+
material = "1.9.0-alpha01"
3131
mockk = "1.13.2"
3232
reflect = "1.7.20"
3333
room = "2.5.0-beta01"
@@ -38,7 +38,7 @@ timber = "5.0.1"
3838
truth = "1.1.3"
3939
turbine = "0.11.0"
4040
versionCheck = "0.38.0"
41-
work = "2.8.0-beta01"
41+
work = "2.8.0-rc01"
4242

4343
[libraries]
4444
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "composeActivity" }
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri May 13 09:55:33 IST 2022
1+
#Tue Jan 24 20:16:08 IST 2023
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

screen/ui-home/src/main/java/kasem/sm/ui_home/HomeContent.kt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,20 @@ internal fun HomeContent(
8181
navigateToSubscriptionScreen = navigateToSubscriptionScreen
8282
)
8383

84-
item {
85-
SlimeHeader(text = stringResource(id = R.string.daily_read_header))
86-
}
84+
state.dailyReadArticle?.let {
85+
item {
86+
SlimeHeader(text = stringResource(id = R.string.daily_read_header))
87+
}
8788

88-
item {
89-
DailyReadArticle(
90-
modifier = Modifier.semantics { testTag = "daily_read_article_view" },
91-
article = state.dailyReadArticle,
92-
imageLoader = imageLoader,
93-
onArticleClick = onArticleClick,
94-
onBookmarkClick = onBookmarkClick
95-
)
89+
item {
90+
DailyReadArticle(
91+
modifier = Modifier.semantics { testTag = "daily_read_article_view" },
92+
article = state.dailyReadArticle,
93+
imageLoader = imageLoader,
94+
onArticleClick = onArticleClick,
95+
onBookmarkClick = onBookmarkClick
96+
)
97+
}
9698
}
9799

98100
item {

0 commit comments

Comments
 (0)