Unverified Commit 7c7fa2c2 authored by Abdelilah El Aissaoui's avatar Abdelilah El Aissaoui Committed by GitHub

Update README.md (#952)

Updated to the latest version because otherwise the example in the
readme does not build because SkiaLayerRenderDelegate is missing
parent 45c1a7df
...@@ -38,13 +38,13 @@ i.e. something like this ...@@ -38,13 +38,13 @@ i.e. something like this
} }
val osArch = System.getProperty("os.arch") val osArch = System.getProperty("os.arch")
var targetArch = when (osArch) { val targetArch = when (osArch) {
"x86_64", "amd64" -> "x64" "x86_64", "amd64" -> "x64"
"aarch64" -> "arm64" "aarch64" -> "arm64"
else -> error("Unsupported arch: $osArch") 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}" val target = "${targetOs}-${targetArch}"
dependencies { dependencies {
implementation("org.jetbrains.skiko:skiko-awt-runtime-$target:$version") implementation("org.jetbrains.skiko:skiko-awt-runtime-$target:$version")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment