Unverified Commit 2463e751 authored by Nikolay Igotti's avatar Nikolay Igotti Committed by GitHub

Move Skiko to version 0.2.0. (#48)

parent f87ddd71
......@@ -75,7 +75,7 @@ if (os == "Mac OS X") {
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation "org.jetbrains.skiko:skiko-jvm-runtime-$target-x64:0.1.21"
implementation "org.jetbrains.skiko:skiko-jvm-runtime-$target-x64:0.2.0"
}
application {
......
......@@ -36,7 +36,7 @@ if (osArch == "x86_64" || osArch == "amd64") {
}
def target = "${targetOs}-${targetArch}"
def version = "0.1-SNAPSHOT"
def version = "0.0.0-SNAPSHOT"
if (project.hasProperty('skiko.version')) {
version = project.properties['skiko.version']
}
......
......@@ -42,7 +42,7 @@ Set up environment variables `COMPOSE_REPO_USERNAME` and `COMPOSE_REPO_KEY`.
##### Publish local version
```
./gradlew <PUBLISH_TASK> -Pdeploy.version=0.1.2 -Pdeploy.release=true
./gradlew <PUBLISH_TASK> -Pdeploy.version=0.2.0 -Pdeploy.release=true
```
##### Code signing
......
kotlin.code.style=official
deploy.version=0.1
deploy.version=0.0.0
dependencies.skija.git.commit=aa020d00649cbbef35d999c482ed0e1aa3cca692
dependencies.skia.windows-x64=m88-21ebdec517/Skia-m88-21ebdec517-windows-Release-x64
......
......@@ -92,7 +92,7 @@ open class SkiaLayer : HardwareLayer() {
val pictureWidth = (width * contentScale).toInt().coerceAtLeast(0)
val pictureHeight = (height * contentScale).toInt().coerceAtLeast(0)
val bounds = Rect.makeWH(pictureWidth.toFloat(), pictureHeight.toFloat())!!
val bounds = Rect.makeWH(pictureWidth.toFloat(), pictureHeight.toFloat())
val canvas = pictureRecorder.beginRecording(bounds)!!
// clipping
......
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