diff --git a/build.gradle.kts b/build.gradle.kts index b180de5..381084e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { allprojects { group = "org.kodein.emoji" - version = "2.0.1" + version = "2.1.0" } allprojects { diff --git a/compose-demo/build.gradle.kts b/compose-demo/build.gradle.kts index 0e19471..3decc1d 100644 --- a/compose-demo/build.gradle.kts +++ b/compose-demo/build.gradle.kts @@ -1,4 +1,4 @@ -import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl +import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl plugins { kotlin("multiplatform") @@ -9,6 +9,7 @@ plugins { kotlin { jvm() + jvmToolchain(17) @OptIn(ExperimentalWasmDsl::class) wasmJs { diff --git a/emoji-compose/src/skiaMain/kotlin/org/kodein/emoji/compose/skiaVectorImages.kt b/emoji-compose/src/skiaMain/kotlin/org/kodein/emoji/compose/skiaVectorImages.kt index c15071d..7cfa3d8 100644 --- a/emoji-compose/src/skiaMain/kotlin/org/kodein/emoji/compose/skiaVectorImages.kt +++ b/emoji-compose/src/skiaMain/kotlin/org/kodein/emoji/compose/skiaVectorImages.kt @@ -104,7 +104,6 @@ internal actual fun LottieAnimation( } val invalidationController = remember { InvalidationController() } - animation.animation.seekFrameTime(time.value, invalidationController) Canvas( modifier = modifier .semantics { @@ -112,6 +111,7 @@ internal actual fun LottieAnimation( this.role = Role.Image } ) { + animation.animation.seekFrameTime(time.value, invalidationController) drawIntoCanvas { animation.animation.render( canvas = it.nativeCanvas, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a9a6218..ca863a0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" } diff --git a/settings.gradle.kts b/settings.gradle.kts index da2c4a9..31775ff 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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") } }