We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PreviewActivity
1 parent 6ec6c1d commit fcaa4d5Copy full SHA for fcaa4d5
composeApp/build.gradle.kts
@@ -82,9 +82,6 @@ kotlin {
82
val desktopMain by getting
83
84
androidMain.dependencies {
85
- implementation(compose.preview)
86
- implementation(compose.uiTooling)
87
-
88
implementation(libs.androidx.activity.compose)
89
}
90
commonMain.dependencies {
@@ -98,12 +95,15 @@ kotlin {
98
95
99
96
desktopMain.dependencies {
100
97
implementation(compose.desktop.currentOs)
101
102
103
104
105
106
+dependencies {
+ implementation(compose.preview)
+ debugImplementation(compose.uiTooling)
+}
+
107
android {
108
namespace = pkgName
109
compileSdk = libs.versions.android.compileSdk.get().toInt()
0 commit comments