flipper icon indicating copy to clipboard operation
flipper copied to clipboard

Jetpack Compose plugin artifact pulls an unpublished dependency

Open rciovati opened this issue 8 months ago • 2 comments

🐛 Bug Report

Related to https://github.com/facebook/flipper/issues/2366#issuecomment-1842473245

The Jetpack Compose plugin has a dependency on an .aar that is not published, making it currently unusable:

https://github.com/facebook/flipper/blob/6b44de3fb395db990c851cc6a25521cc23fb0323/android/plugins/jetpack-compose/build.gradle#L35

To Reproduce

  • Add the dependency with debugImplementation("com.facebook.flipper:flipper-jetpack-compose-plugin:0.250.0")
  • Build the app and observe the error:
> Could not resolve all files for configuration ':app:standardDebugRuntimeClasspath'.
   > Could not find flipper:inspection-lib:unspecified.
     Searched in the following locations:
       - file:/Users/user/.m2/repository/flipper/inspection-lib/unspecified/inspection-lib-unspecified.pom
       - file:/Users/user/ghq/omitted/Frontpage-Android/jetified-libs/flipper/inspection-lib/unspecified/inspection-lib-unspecified.pom
       - https://omitted/artifactory/omitted-maven-prod/flipper/inspection-lib/unspecified/inspection-lib-unspecified.pom
     Required by:
         project :app > com.facebook.flipper:flipper-jetpack-compose-plugin:0.250.0

Environment

Not relevant

rciovati avatar Jun 14 '24 08:06 rciovati