|
|
@ -20,7 +20,11 @@ kotlin { |
|
|
|
} |
|
|
|
} |
|
|
|
named("desktopMain") { |
|
|
|
named("desktopMain") { |
|
|
|
dependencies { |
|
|
|
dependencies { |
|
|
|
api(compose.uiTooling) |
|
|
|
// Note, if you develop a library, you should use compose.desktop.common. |
|
|
|
|
|
|
|
// compose.desktop.currentOs should be used in launcher-sourceSet |
|
|
|
|
|
|
|
// (in a separate module for demo project and in testMain). |
|
|
|
|
|
|
|
// With compose.desktop.common you will also lose @Preview functionality |
|
|
|
|
|
|
|
api(compose.desktop.currentOs) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
named("androidMain") { |
|
|
|
named("androidMain") { |
|
|
@ -53,4 +57,4 @@ android { |
|
|
|
res.srcDirs("src/androidMain/res") |
|
|
|
res.srcDirs("src/androidMain/res") |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |