David Herman
03/29/2023, 2:53 PMDavid Herman
03/29/2023, 2:54 PMDavid Herman
03/29/2023, 2:55 PMjsMain
dependency block.David Herman
03/29/2023, 2:56 PMBig Chungus
03/29/2023, 3:13 PMDavid Herman
03/29/2023, 3:21 PMBig Chungus
03/29/2023, 3:21 PMCLOVIS
03/29/2023, 3:21 PMkotlin("js")
, no code but a dependency on your MPP project, and publish that one?David Herman
03/29/2023, 3:23 PMCLOVIS
03/29/2023, 3:24 PMBig Chungus
03/29/2023, 3:24 PMBig Chungus
03/29/2023, 3:24 PMDavid Herman
03/29/2023, 3:25 PMBig Chungus
03/29/2023, 3:26 PMDavid Herman
03/29/2023, 3:26 PMDavid Herman
03/29/2023, 3:28 PMRobert Jaros
03/29/2023, 3:41 PMCLOVIS
03/29/2023, 4:07 PMCLOVIS
03/29/2023, 4:08 PMDavid Herman
03/29/2023, 4:12 PMval jsMain by getting {
dependencies {
implementation(compose.runtime)
implementation(compose.web.core)
}
}
since it seems that (as far as I can tell from some quick code searching) the compose plugin does not export convenient version catalogs for platform specific compose targets. (In a multiplatform world, these implementation declarations are resolved correctly)
I can of course add them myself, but it feels like I'm going against the grain here.
Not to mention that the Kotlin/JS plugin just looks like the Kotlin/Multiplatform plugin if you squint (you still need to create a kotlin { js { ... } }
configuration block, same as multiplatform, and the type of the kotlin
block is KotlinMultiplatformExtension
David Herman
03/29/2023, 4:16 PMDavid Herman
03/29/2023, 4:16 PMCLOVIS
03/29/2023, 4:17 PMRobert Jaros
03/29/2023, 4:17 PMCLOVIS
03/29/2023, 4:18 PMBig Chungus
03/29/2023, 4:28 PMeygraber
03/29/2023, 5:03 PMDavid Herman
03/29/2023, 5:18 PMkotlin
block is KotlinMultiplatformExtension
even though it's being exposed by the JS plugin (which makes me suspect it's really the multiplatform plugin but tweaked).Big Chungus
03/29/2023, 5:28 PMDavid Herman
03/29/2023, 5:31 PMSebastian Sellmair [JB]
03/30/2023, 7:36 AM