Tlaster / PreCompose

Compose Multiplatform Navigation && State Management
https://tlaster.github.io/PreCompose/
MIT License
809 stars 49 forks source link

Configuring gradle #86

Closed paulorb closed 10 months ago

paulorb commented 11 months ago

I am trying to configure gradle for PreCompose

dependencies {
    implementation(compose.desktop.currentOs)
    implementation(compose.material3)
    implementation(compose.materialIconsExtended)
    implementation(compose.foundation)
    implementation(compose.animation)
    implementation("moe.tlaster:precompose-viewmodel")
}

It is giving me an error:

Could not determine the dependencies of task ':extractIncludeProto'.
> Could not resolve all dependencies for configuration ':compileProtoPath'.
  The project declares repositories, effectively ignoring the repositories you have declared in the settings.

Any ideas?

Tlaster commented 11 months ago

Looks like you are using protobuf-gradle-plugin, I think it is better to check if your protobuf-gradle-plugin has the right configuration, PreCompose does not add gradle tasks and does not have a gradle plugin.

Tlaster commented 10 months ago

close as inactive