Skip to content

Commit

Permalink
(General) Bump dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkeppeler committed Feb 8, 2024
1 parent 679deb0 commit af5f3b2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 16 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ object App {

const val ID = "com.mk.sheets.compose"

const val COMPILE_SDK = 33
const val COMPILE_SDK = 34
const val MIN_SDK = 21
const val TARGET_SDK = 33
const val TARGET_SDK = 34

const val VERSION_CODE = 12
const val VERSION_NAME = "1.2.1"
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object Dependencies {
object Test {
const val TEST_CORE = "androidx.test:core:${Versions.TEST_CORE}"
const val TEST_RUNNER = "androidx.test:runner:${Versions.TEST_RUNNER}"
const val JUNIT = "androidx.test.ext:junit:1.1.3"
const val JUNIT = "androidx.test.ext:junit:1.1.5"
const val ESPRESSO_CORE = "androidx.test.espresso:espresso-core:${Versions.ESPRESSO_CORE}"
}
}
Expand Down
15 changes: 4 additions & 11 deletions buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,37 +1,30 @@
object Versions {

// Kotlin

const val KOTLIN = "1.8.10"

// Compose

const val COMPOSE_BOM = "2023.05.01"
const val COMPOSE = "1.4.1"
const val COMPOSE_BOM = "2024.02.00"
const val COMPOSE = "1.6.1"
const val COMPOSE_COMPILER = "1.4.3"

// AndroidX

const val CORE = "1.9.0"
const val RUNTIME = "2.5.1"
const val COMPOSE_ACTIVITY = "1.5.0"
const val COMPOSE_NAVIGATION = "2.5.3"
const val COMPOSE_NAVIGATION = "2.7.6"

// Misc

const val GRADLE = "7.4.2"
const val DESUGAR = "1.1.5"
const val MAVEN_PUBLISH = "0.21.0"

const val SNAPPER = "0.3.0"

const val DOKKA = "1.8.10"
const val KT_LINT = "0.47.1"

// Test

const val JUNIT = "4.13.2"
const val ESPRESSO_CORE = "3.4.0"
const val ESPRESSO_CORE = "3.5.1"
const val TEST_CORE = "1.5.0"
const val TEST_RUNNER = "1.5.2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal class RatingState(
stateData: RatingStateData? = null,
) : BaseTypeState() {

var rating: Int? by mutableStateOf(stateData?.rating ?: 4)
var rating: Int? by mutableStateOf(stateData?.rating)
var feedback by mutableStateOf(stateData?.feedback)

var ratingValid by mutableStateOf(isRatingValid())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ internal fun RatingSelectionView(
space = dimensionResource(RC.dimen.scd_small_50),
alignment = alignment
),
verticalAlignment = Alignment.CenterVertically,
verticalArrangement = Arrangement.Center,
maxItemsInEachRow = 6,
) {
(1..config.ratingOptionsCount).forEach { optionIndex ->
Expand Down

0 comments on commit af5f3b2

Please sign in to comment.