Unverified Commit 3848140b authored by Nikolay Igotti's avatar Nikolay Igotti Committed by GitHub

Update README.md

Tweaks.
parent da259ad4
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
Skiko (short for Skia for Kotlin) is the graphical library exposing significant part Skiko (short for Skia for Kotlin) is the graphical library exposing significant part
of [Skia library](https://skia.org) APIs to Kotlin, along with the gluing code for rendering context. of [Skia library](https://skia.org) APIs to Kotlin, along with the gluing code for rendering context.
At the moment, Linux x86_64, Windows x86_64 and macOS x86_64 builds for Kotlin/JVM ara available. At the moment, Linux(x86_64), Windows(x86_64) and macOS(x86_64) builds for Kotlin/JVM are available.
Using the library from Kotlin is as simple as: Using the library from Kotlin is as simple as:
```kotlin ```kotlin
fun main(args: Array<String>) { fun main(args: Array<String>) {
...@@ -50,15 +50,12 @@ if (os == "Mac OS X") { ...@@ -50,15 +50,12 @@ if (os == "Mac OS X") {
} }
dependencies { dependencies {
implementation platform('org.jetbrains.kotlin:kotlin-bom')
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8' implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation "org.jetbrains.skiko:skiko-jvm-runtime-$target:0.1.5" implementation "org.jetbrains.skiko:skiko-jvm-runtime-$target:0.1.5"
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit'
} }
application { application {
mainClassName = 'SkijaInjectSample.AppKt' mainClassName = 'AppKt'
} }
``` ```
...@@ -97,4 +94,4 @@ Control Panel|All Control Panel Items|System|Advanced system settings|Environmen ...@@ -97,4 +94,4 @@ Control Panel|All Control Panel Items|System|Advanced system settings|Environmen
or by running `cmd` as administrator: or by running `cmd` as administrator:
``` ```
setx /M SKIKO_VSBT_PATH "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" setx /M SKIKO_VSBT_PATH "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
``` ```
\ No newline at end of file
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