Skip to content

Commit

Permalink
Merge pull request #238 from DroidKaigi/takahirom/kotlin-2.0.10/2024-…
Browse files Browse the repository at this point in the history
…08-07

Kotlin 2.0.10
  • Loading branch information
takahirom authored Aug 8, 2024
2 parents 986cb09 + e63c08b commit 90a41eb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ class IosComposeKaigiTest {
)
}
}
// We are investigating error about Json format
// onRoot().captureRoboImage(this, filePath = "ios_compose_launch.png")
onRoot().captureRoboImage(this, filePath = "ios_compose_launch.png")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import com.github.takahirom.roborazzi.ComposePreviewTester
import com.github.takahirom.roborazzi.captureRoboImage
import sergio.sastre.composable.preview.scanner.core.preview.ComposablePreview
import sergio.sastre.composable.preview.scanner.jvm.JvmAnnotationScanner
import sergio.sastre.composable.preview.scanner.jvm.JvmAnnotationScanner.DesktopPreviewInfo

class DroidKaigiKmpPreviewTester : ComposePreviewTester<JvmAnnotationScanner.DesktopPreviewInfo> {
override fun previews(vararg packages: String): List<ComposablePreview<JvmAnnotationScanner.DesktopPreviewInfo>> {
override fun previews(): List<ComposablePreview<DesktopPreviewInfo>> {
return JvmAnnotationScanner("org.jetbrains.compose.ui.tooling.preview.Preview")
.scanPackageTrees(*packages)
.scanPackageTrees(*options().scanOptions.packages.toTypedArray())
.getPreviews()
}

Expand Down
4 changes: 0 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ kotlin.incremental.native=true
# kotlin debug
#kotlin.compiler.execution.strategy=in-process

# skie
# Skie doesn't support Kotlin 2.0.10-RC2 yet
skie.kgpVersion=2.0.0

# roborazzi
roborazzi.test.record=true
roborazzi.record.namingStrategy=testClassAndMethod
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ androidGradlePlugin = "8.5.1"
# For updating Kotlin and Compose Compiler version, see:
# https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compatibility-and-versioning.html#jetpack-compose-and-compose-multiplatform-release-cycles
# https://developer.android.com/jetpack/androidx/releases/compose-kotlin?#pre-release_kotlin_compatibility
kotlin = "2.0.10-RC2"
kotlin = "2.0.10"

androidxCore = "1.13.1"
androidDesugarJdkLibs = "2.0.4"
Expand All @@ -27,8 +27,8 @@ koin = "3.4.3"
ktlint = "0.49.1"
kotlinxSerialization = "1.7.1"
ktor = "2.3.10"
roborazzi = "1.23.0"
ksp = "2.0.10-RC2-1.0.24"
roborazzi = "1.26.0"
ksp = "2.0.10-1.0.24"
firebaseBom = "33.1.2"
multiplatformFirebase = "1.8.1"
kermit = "1.2.2"
Expand All @@ -43,7 +43,7 @@ lottie = "6.1.0"
molecule = "1.4.2"
kover = "0.7.6"
androidxLifecycleProcess = "2.8.4"
skie = "0.8.3"
skie = "0.8.4"
composablePreviewScanner = "0.1.3"
coil = "3.0.0-alpha06"

Expand Down

0 comments on commit 90a41eb

Please sign in to comment.