Hey, I am using Compose Build262, and the `uiTooli...
# compose
h
Hey, I am using Compose Build262, and the
uiTooling
dependency requires
androidx.activity:activity-compose:1.4.0-alpha01
, which is not (yet) published to https://maven.google.com/web/index.html#androidx.activity:activity-compose
i
Do you mind filing a bug against Compose? All of the project (i.e., tip of tree) dependencies in Compose on any activity artifact should be switched to Activity 1.3.0 stable. https://issuetracker.google.com/issues/new?component=612128
If you're using anything other than released artifacts, you should really only use snapshots as per http://androidx.dev
h
I don't exactly know, what you mean. I am using
id("org.jetbrains.compose") version "0.5.0-build262"
, released 16 hours ago which based on the current master branch of
androidx
, not on released versions, and use its dependency in an Android project:
implementation(compose.uiTooling)
, which results into this error:
Copy code
Could not find androidx.activity:activity-compose:1.4.0-alpha01.
     Searched in the following locations:
       - <https://repo.maven.apache.org/maven2/androidx/activity/activity-compose/1.4.0-alpha01/activity-compose-1.4.0-alpha01.pom>
       - <https://dl.google.com/dl/android/maven2/androidx/activity/activity-compose/1.4.0-alpha01/activity-compose-1.4.0-alpha01.pom>
       - <https://maven.pkg.jetbrains.space/public/p/compose/dev/androidx/activity/activity-compose/1.4.0-alpha01/activity-compose-1.4.0-alpha01.pom>
     Required by:
         project :androidApp > org.jetbrains.compose.ui:ui-tooling:0.5.0-build262 > org.jetbrains.compose.ui:ui-tooling-android-debug:0.5.0-build262
i
Ah, Compose for Desktop. Generally those discussions are over in #compose-desktop, not here
But if they're basing their builds on the androidx-main branch (it isn't called master), then the root fix still needs to be on Compose - nothing in Compose should be reliant on Activity 1.4.0 at all. That's the bug that needs to be filed
👍 1