Arkadii Ivanov
11/29/2020, 3:07 PM0.2.0-build132
requires Kotlin 1.4.20, whereas Jetpack Compose 1.0.0-alpha07
requires Kotlin 1.4.10. Looks like I'm forced to use some older version of JetBrains Compose.jim
11/29/2020, 3:11 PMArkadii Ivanov
11/29/2020, 3:14 PMextensions-compose-jetpack
and extensions-compose-jetbrains
modules. Each uses the corresponding Compose variant. The former is pure Android library, the latter is multiplatform.jim
11/29/2020, 3:17 PMJavier
11/29/2020, 3:19 PMimplementation(compose.material)
if there are specific APIs only for Android, then that implementation in androidMain
add them without having to add the Google one, like a normal MPP library? @jimArkadii Ivanov
11/29/2020, 3:19 PMjim
11/29/2020, 3:20 PMextensions-compose-jetpack
needed to be compatible with a published alpha release of Compose on gmaven. If the concern is just being able to access android-specific APIs, then yes, just use androidMain
.Arkadii Ivanov
11/29/2020, 3:25 PMkotlin_version
to 1.4.20, compose_jetpack_version
to 1.0.0-alpha07, and compose_jetbrains_version
to 0.2.0-build132. It does not compile extensions-compose-jetpack
module.jim
11/29/2020, 3:37 PMextensions-compose-jetpack
) should compile with 1.4.20. The problem (as I understand it) is that you're trying to straddle both releases simultaneously for the purposes of providing your own releases that are compatible with both google+jetbrains latest releases, right?Arkadii Ivanov
11/29/2020, 3:45 PMextensions-compose-jetpack
with dependency on JetBrains Compose. Because Jetpack and JetBrains Compose are different publications in different repositories, and are not binary compatible.x.y.z
with Kotlin 1.4.10 + version x.y.z-1420
with Kotlin 1.4.20 but without extensions-compose-jetpack
module.jim
11/29/2020, 3:50 PMextensions-compose-jetpack
with 1.4.20 for use in MPP-android projects. That is to say, you publish two variants of all your artifacts (one for MPP users, and one for gmaven/android-only users). I understand this is very not ideal, but should hopefully only be short term.Arkadii Ivanov
11/29/2020, 3:50 PMJavier
11/29/2020, 4:09 PMArkadii Ivanov
11/29/2020, 4:11 PMAndrey Kulikov
11/29/2020, 6:19 PM