Skip to content

Commit

Permalink
Update README.md (#952)
Browse files Browse the repository at this point in the history
Updated to the latest version because otherwise the example in the
readme does not build because SkiaLayerRenderDelegate is missing
  • Loading branch information
JetpackDuba authored Jul 9, 2024
1 parent 45c1a7d commit 7c7fa2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ i.e. something like this
}

val osArch = System.getProperty("os.arch")
var targetArch = when (osArch) {
val targetArch = when (osArch) {
"x86_64", "amd64" -> "x64"
"aarch64" -> "arm64"
else -> error("Unsupported arch: $osArch")
}

val version = "0.7.9" // or any more recent version
val version = "0.8.9" // or any more recent version
val target = "${targetOs}-${targetArch}"
dependencies {
implementation("org.jetbrains.skiko:skiko-awt-runtime-$target:$version")
Expand Down

0 comments on commit 7c7fa2c

Please sign in to comment.