Browse Source

Add compose.preview dependency shortcut (#989)

Useful for MPP modules, that don't depend on compose.desktop.currentOs
pull/994/head
Alexey Tsvetkov 3 years ago committed by GitHub
parent
commit
d8ada29395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt

1
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt

@ -119,6 +119,7 @@ class ComposePlugin : Plugin<Project> {
val runtime get() = composeDependency("org.jetbrains.compose.runtime:runtime")
val ui get() = composeDependency("org.jetbrains.compose.ui:ui")
val uiTooling get() = composeDependency("org.jetbrains.compose.ui:ui-tooling")
val preview get() = composeDependency("org.jetbrains.compose.ui:ui-tooling-preview")
val materialIconsExtended get() = composeDependency("org.jetbrains.compose.material:material-icons-extended")
val web: WebDependencies get() =
if (ComposeBuildConfig.isComposeWithWeb) WebDependencies

Loading…
Cancel
Save