crisidev / smithy-rs-pokemon-service

Gotta catch 'em all!
MIT License
11 stars 3 forks source link

Gradle plugin `software.amazon.smithy.rust.codegen.server.smithy:codegen-server:0.1.0` not found #1

Open PranavBhasin001 opened 1 year ago

PranavBhasin001 commented 1 year ago

I've used Smithy with Java services at Amazon and this is my first trying Smithy outside of Amazon. After cloning the application and running Gradle, I see the exception:

* What went wrong:
A problem occurred configuring project ':model'.
> Could not determine the dependencies of null.
   > Could not resolve all task dependencies for configuration ':model:classpath'.
      > Could not find software.amazon.smithy.rust.codegen.server.smithy:codegen-server:0.1.0.
        Searched in the following locations:
          - file:/home/home/.m2/repository/software/amazon/smithy/rust/codegen/server/smithy/codegen-server/0.1.0/codegen-server-0.1.0.pom
          - https://plugins.gradle.org/m2/software/amazon/smithy/rust/codegen/server/smithy/codegen-server/0.1.0/codegen-server-0.1.0.pom
        Required by:
            project :model

On reviewing the URL above, I see the exception:

{
  "errors" : [ {
    "status" : 404,
    "message" : "Could not find resource"
  } ]
}

This is the most recent version of the plugin on the smithy-rs repository as well. Do you know why I cannot see/access this Gradle plugin?

crisidev commented 1 year ago

Hum.. this repository needs some love as something has probably changed inside smithy-rs. I'll try to reproduce and fix this in the next couple of days.

timClicks commented 1 year ago

@PranavBhasin001 Have you pulled in the git submodule?

From the root of the package:

git submodule init
git submodule update
crisidev commented 1 year ago

I am working on updating this to the latest version of smithy-rs and I am also updating the README.