theolm / Rinku

Deep Link Handling for Kotlin Multiplatform
https://theolm.dev/Rinku/
MIT License
114 stars 3 forks source link

Could not find org.jetbrains.compose.material:material:1.7.0+build1877-release-1.7. #48

Open harry248 opened 1 week ago

harry248 commented 1 week ago

I am getting the following error (just following the setup step in the readme and doing a gradle sync):

Could not determine the dependencies of task ':composeApp:transformAppleMainCInteropDependenciesMetadataForIde'.
> Could not resolve all dependencies for configuration ':composeApp:iosX64CompilationDependenciesMetadata'.
   > Could not find org.jetbrains.compose.material:material:1.7.0+build1877-release-1.7.
     Required by:
         project :composeApp > dev.theolm:rinku-compose-ext:1.2.0 > dev.theolm:rinku-compose-ext-iosx64:1.2.0

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Maybe it's related to the fact, that I am using

implementation(compose.material3) and not implementation(compose.material)?

But I guess the library should also work with projects using only Material3.

theolm commented 1 week ago

~@harry248 thanks for opening the issue. It's not directly related to the material3. It seems the org.jetbrains.compose.material:material does not have the version +build1877-release-1.7 published. Thanks for reporting, I'll address this issue today.~

I'm having a hard time reproducing this issue, could you share your version catalog and your build.gradle?

could you try the version 1.1.0 in meanwhile?

theolm commented 5 days ago

@harry248 any updates on this? I want to solve this issue, but I am not able to reproduce it.

I'm working on a project that is using Rinku 1.2 and both compose.material and compose.material3.

So I'll probably need more info here.

btw. The voyager sample is also using material3

ismai117 commented 2 days ago

@theolm @harry248 I added implementation(compose.material) even tho I'm using material3, that's how I fixed it.