Files
Shagen Ogandzhanian 3a45780645 Update SkikoJsSample and rename it to SkikoWebSample (#1085)
This PR updates SkikoJsSample (which is renamed to SkikoWebSample) in
following aspects:

- By default sample built against release version so that user can check
the sample without local build at all
- When build against local skiko, `skiko.version` parameter is ignored
- Sample code commonized and prepared for future introduction of common
web source sets in Kotlin 2.2.20
2025-09-09 23:36:52 +02:00
..
2024-05-21 10:21:45 +02:00
2024-05-21 10:21:45 +02:00
2023-12-06 16:32:23 +01:00

Skia multiplatform samples

run iOS with Xcode

  • Install xcodegen
  • run xcodegen
  • run open SkikoSample.xcodeproj

run iOS with debug in AppCode

  • If you need to debug skiko sources without publish to maven local, then set a gradle property skiko.composite.build=1 (see gradle.properties)
  • Install KMM plugin for AppCode
  • In AppCode open samples/SkiaMultiplatformSample (File -> Open). Choose "Open as Project". import-build-gradle-project.png
  • Set target device and Run ios-run-in-appcode.png
  • Now you may use breakpoints in common and native Kotlin code

run on browser:

  • ./gradlew jsBrowserRun

run desktop awt:

  • ./gradlew runAwt

run desktop on native MacOS

  • ./gradlew runNative