Skip to content

fix(sbt-plugin): make sure akkaserverless classes are generated#460

Merged
octonato merged 1 commit intolightbend:mainfrom
raboof:regenerate-akkaserverless-sdk-classes
Sep 22, 2021
Merged

fix(sbt-plugin): make sure akkaserverless classes are generated#460
octonato merged 1 commit intolightbend:mainfrom
raboof:regenerate-akkaserverless-sdk-classes

Conversation

@raboof
Copy link
Copy Markdown
Contributor

@raboof raboof commented Sep 22, 2021

This way we don't get the class files from a dependencies, but we get
the proto files and generate the class files ourselves: this way we have
more control over how they are generated.

This way we don't get the class files from a dependencies, but we get
the proto files and generate the class files ourselves: this way we have
more control over how they are generated.
Copy link
Copy Markdown
Contributor

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

override def projectSettings: Seq[sbt.Setting[_]] = Seq(
libraryDependencies ++= Seq(
"com.akkaserverless" % "akkaserverless-sdk-protocol" % "0.7.0-beta.19" % "protobuf",
"com.akkaserverless" % "akkaserverless-sdk-protocol" % "0.7.0-beta.19" % "protobuf-src",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this will solve the AnnotationsProto issue?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I'm fairly confident it will (though there might be further problems lurking there, around flat/non-flat packages and naming clashes)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's try it, merging

@octonato octonato merged commit 980f666 into lightbend:main Sep 22, 2021
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

Successfully merging this pull request may close these issues.

3 participants