Skip to content

Commit

Permalink
Fix Multiplatform connect doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-tiurin committed Jun 25, 2024
1 parent 7ce968d commit a56c5cd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- docs

jobs:
github-pages:
Expand Down
17 changes: 15 additions & 2 deletions docs/docs/intro/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,24 @@ dependencies {
```

For Compose Multiplatform UI tests

As Ultron supports Desktop and Android targets for KMP. You better specify depencencies in relevant part
```kotlin
kotlin {
androidTarget {
@OptIn(ExperimentalKotlinGradlePluginApi::class)
instrumentedTestVariant {
...
dependencies {
implementation("com.atiurin:ultron-compose:<latest_version>")
}
}
}
sourceSets {
commonTest.dependencies {
implementation("com.atiurin:ultron-compose:<latest_version>")
val desktopTest by getting {
dependencies {
implementation("com.atiurin:ultron-compose:<latest_version>")
}
}
}
}
Expand Down

0 comments on commit a56c5cd

Please sign in to comment.