Skip to content

Commit

Permalink
Do not expose CMP library API (#1723)
Browse files Browse the repository at this point in the history
The CMPUIKitUtil framework API should not be exposed as a public API.
  • Loading branch information
ASalavei authored Dec 11, 2024
1 parent 2d8c5f4 commit f0e9eff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion compose/foundation/foundation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,11 @@ if (AndroidXComposePlugin.isMultiplatformEnabled(project)) {
jsNativeMain.dependsOn(skikoMain)
nativeMain.dependsOn(jsNativeMain)
jsWasmMain.dependsOn(jsNativeMain)

uikitMain {
dependencies {
implementation(project(":compose:ui:ui-uikit"))
}
}
jsMain {
kotlin.srcDir("src/webCommonW3C/kotlin")
dependsOn(jsWasmMain)
Expand Down
2 changes: 1 addition & 1 deletion compose/ui/ui-util/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) {

uikitMain {
dependencies {
api project(":compose:ui:ui-uikit")
implementation(project(":compose:ui:ui-uikit"))
}
}

Expand Down
2 changes: 1 addition & 1 deletion compose/ui/ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) {
}
uikitMain {
dependencies {
api project(":compose:ui:ui-uikit")
implementation(project(":compose:ui:ui-uikit"))
}
}
notMobileMain.dependsOn(skikoMain)
Expand Down

0 comments on commit f0e9eff

Please sign in to comment.