Skip to content

Commit

Permalink
Include only foundation-desktop in the published library (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
Walingar authored Oct 3, 2023
1 parent e5975ac commit b71e94f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import org.jetbrains.compose.ComposeBuildConfig

plugins {
jewel
`jewel-publish`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.kotlinSerialization)
}

private val composeVersion get() = ComposeBuildConfig.composeVersion

dependencies {
api(compose.desktop.currentOs) {
exclude(group = "org.jetbrains.compose.material")
}
api("org.jetbrains.compose.foundation:foundation-desktop:$composeVersion")
}
3 changes: 3 additions & 0 deletions ide-laf-bridge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ dependencies {
compileOnly(libs.bundles.idea)

testImplementation(compose.desktop.uiTestJUnit4)
testImplementation(compose.desktop.currentOs) {
exclude(group = "org.jetbrains.compose.material")
}
}
3 changes: 3 additions & 0 deletions samples/ide-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ repositories {

dependencies {
implementation(projects.ideLafBridge)
implementation(compose.desktop.currentOs) {
exclude(group = "org.jetbrains.compose.material")
}
}
3 changes: 3 additions & 0 deletions samples/standalone/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ plugins {

dependencies {
implementation(projects.intUi.intUiStandalone)
implementation(compose.desktop.currentOs) {
exclude(group = "org.jetbrains.compose.material")
}
}

compose.desktop {
Expand Down

0 comments on commit b71e94f

Please sign in to comment.