Skip to content
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

fix(deps): update compose unstable updates #770

Merged
merged 7 commits into from
Jul 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build-logic/src/main/kotlin/internal/constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package internal

internal object ApplicationConstants {
const val MinSdk = 21
const val TargetSdk = 33
const val CompileSdk = 33
const val TargetSdk = 34
const val CompileSdk = 34
const val VersionCode = 2000
const val VersionName = "2.0.0"
val JavaVersion = org.gradle.api.JavaVersion.VERSION_17
Expand Down
22 changes: 11 additions & 11 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gradle-dependency-graph = "1.1.0"
google-autoservice-standard = "1.1.1"
google-autoservice-ksp = "1.0.0"

kotlin-core = "1.8.21"
kotlin-core = "1.8.22"
kotlin-coroutines = "1.7.1"
kotlin-dokka = "1.8.20"
kotlin-ksp = "1.8.21-1.0.11"
Expand All @@ -24,15 +24,15 @@ androidx-datastore = "1.0.0" # for Playground
androidx-benchmark = "1.1.1"
androidx-profileinstaller = "1.3.1"

compose-compiler = "1.4.7"
compose-runtime = "1.5.0-beta02"
compose-ui-core = "1.5.0-beta02"
compose-ui-util = "1.5.0-beta02"
compose-ui-text = "1.5.0-beta02"
compose-animation = "1.5.0-beta02"
compose-foundation = "1.5.0-beta02"
compose-material-ripple = "1.5.0-beta02"
compose-material3 = "1.2.0-alpha02" # for Playground
compose-compiler = "1.4.8"
compose-runtime = "1.6.0-alpha01"
compose-ui-core = "1.6.0-alpha01"
compose-ui-util = "1.6.0-alpha01"
compose-ui-text = "1.6.0-alpha01"
compose-animation = "1.6.0-alpha01"
compose-foundation = "1.6.0-alpha01"
compose-material-ripple = "1.6.0-alpha01"
compose-material3 = "1.2.0-alpha03" # for Playground
compose-activity = "1.7.2"
compose-svg-converter = "0.8.1"

Expand All @@ -43,7 +43,7 @@ coil-test = "2.4.0"
test-kotest = "5.6.2"
test-junit-core = "4.13.2"
test-junit-engine = "5.9.3"
test-junit-compose = "1.5.0-beta02"
test-junit-compose = "1.6.0-alpha01"
test-roborazzi = "1.3.0-rc-1"
test-robolectric = "4.10.3"
test-injector-parameter = "1.12"
Expand Down
8 changes: 8 additions & 0 deletions material-icon/src/test/resources/robolectric.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Designed and developed by Duckie Team 2023.
#
# Licensed under the MIT.
# Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE
#

sdk=33
8 changes: 8 additions & 0 deletions material/src/test/resources/robolectric.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Designed and developed by Duckie Team 2023.
#
# Licensed under the MIT.
# Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE
#

sdk=33
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE
*/

@file:OptIn(ExperimentalCompilerApi::class, UnsafeCastFunction::class)
@file:OptIn(ExperimentalCompilerApi::class)
@file:Suppress(
"RedundantUnitReturnType",
"RedundantVisibilityModifier",
Expand All @@ -27,7 +27,6 @@ import io.kotest.engine.spec.tempdir
import io.kotest.matchers.shouldBe
import org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi
import org.jetbrains.kotlin.config.JvmTarget
import org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction
import org.jetbrains.kotlin.utils.addToStdlib.cast

class SugarIrTransformTest : StringSpec() {
Expand Down
8 changes: 8 additions & 0 deletions ui-plugin/image/src/test/resources/robolectric.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Designed and developed by Duckie Team 2023.
#
# Licensed under the MIT.
# Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE
#

sdk=33
8 changes: 4 additions & 4 deletions ui/src/main/kotlin/team/duckie/quackquack/ui/util/measurer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import androidx.compose.ui.text.TextMeasurer
import androidx.compose.ui.unit.LayoutDirection

/**
* [fallbackLayoutDirection][TextMeasurer.fallbackLayoutDirection]을 [LayoutDirection.Ltr]으로 고정하며
* [defaultLayoutDirection][TextMeasurer.defaultLayoutDirection]을 [LayoutDirection.Ltr]으로 고정하며
* [TextMeasurer] 인스턴스를 생성 및 반환합니다. [LayoutDirection.Rtl]을 고려하지 않아도 되는 상황에서
* 불필요한 컴포저블 참조를 줄여줍니다.
*
Expand All @@ -28,9 +28,9 @@ internal fun rememberLtrTextMeasurer(cacheSize: Int = /*DefaultCacheSize*/ 8): T

return remember(fontFamilyResolver, density, cacheSize) {
TextMeasurer(
fallbackFontFamilyResolver = fontFamilyResolver,
fallbackDensity = density,
fallbackLayoutDirection = LayoutDirection.Ltr,
defaultFontFamilyResolver = fontFamilyResolver,
defaultDensity = density,
defaultLayoutDirection = LayoutDirection.Ltr,
cacheSize = cacheSize,
)
}
Expand Down
8 changes: 8 additions & 0 deletions ui/src/test/resources/robolectric.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Designed and developed by Duckie Team 2023.
#
# Licensed under the MIT.
# Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE
#

sdk=33
Binary file modified ui/src/test/snapshots/textfield/QuackDefaultTextFields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/textfield/QuackDefaultTextFields_counters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/textfield/QuackDefaultTextFields_icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/textfield/QuackFilledTextFields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.