Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresolved dependency: com.thesamet#sbt-protoc;0.99.23: not found #330

Open
AdityaSaroj opened this issue Apr 14, 2023 · 2 comments
Open

Comments

@AdityaSaroj
Copy link

The code had been running fine till March, but now I get this:
sbt.librarymanagement.ResolveException: unresolved dependency: com.thesamet#sbt-protoc;0.99.23: not found

This is the code (scalapb.st):

addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.23")

libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.9.0"

And, build.properties:
sbt.version = 1.2.8

I tried upgrading the version, but it did not help.

@AdityaSaroj
Copy link
Author

Changed to

addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6")

libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.9.0"

And

PB.protocVersion := "3.19.2"

Now, getting this error:

java.lang.NoSuchMethodError: sbt.package$.singleFileJsonFormatter()Lsjsonnew/JsonFormat

@thesamet
Copy link
Owner

Hi Aditya, I am not able to reproduce the problems you are seeing. I have tried creating a new project with sbt new scalapb/scalapb-template.g8 and performed the changes you described in either the original post and int the follow up comment. It compiled successfully both times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants