Skip to content

Commit

Permalink
Kotlin 2.0.20, Compose 1.6.11
Browse files Browse the repository at this point in the history
  • Loading branch information
SalomonBrys committed Sep 23, 2024
1 parent c038816 commit e92ba9e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

allprojects {
group = "org.kodein.emoji"
version = "2.0.1"
version = "2.1.0"
}

allprojects {
Expand Down
3 changes: 2 additions & 1 deletion compose-demo/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl

plugins {
kotlin("multiplatform")
Expand All @@ -9,6 +9,7 @@ plugins {

kotlin {
jvm()
jvmToolchain(17)

@OptIn(ExperimentalWasmDsl::class)
wasmJs {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ internal actual fun LottieAnimation(
}

val invalidationController = remember { InvalidationController() }
animation.animation.seekFrameTime(time.value, invalidationController)
Canvas(
modifier = modifier
.semantics {
this.contentDescription = contentDescription
this.role = Role.Image
}
) {
animation.animation.seekFrameTime(time.value, invalidationController)
drawIntoCanvas {
animation.animation.render(
canvas = it.nativeCanvas,
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[versions]
android-activityCompose = "1.9.0"
android-lottie = "6.4.0"
android-activityCompose = "1.9.2"
android-lottie = "6.5.2"
android-svg = "1.4"
compose = "1.6.10"
compose = "1.6.11"

[plugins]
compose = { id = "org.jetbrains.compose", version.ref = "compose" }
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
maven(url = "https://raw.githubusercontent.com/kosi-libs/kodein-internal-gradle-plugin/mvn-repo")
}
dependencies {
classpath("org.kodein.internal.gradle:kodein-internal-gradle-settings:8.7.1")
classpath("org.kodein.internal.gradle:kodein-internal-gradle-settings:8.8.0")
}
}

Expand Down

0 comments on commit e92ba9e

Please sign in to comment.