Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Created May 20, 2026 04:33
Show Gist options
  • Select an option

  • Save xuwei-k/6fe7e64de000e1ffcc1a798c71d1f3d4 to your computer and use it in GitHub Desktop.

Select an option

Save xuwei-k/6fe7e64de000e1ffcc1a798c71d1f3d4 to your computer and use it in GitHub Desktop.
val workaroundScalaPB2112 = {
// https://github.com/scalapb/ScalaPB/pull/2112
protocbridge.SandboxedJvmGenerator.forModule(
"scala",
protocbridge.Artifact(
"com.thesamet.scalapb",
"compilerplugin_3",
scalapb.compiler.Version.scalapbVersion
),
"scalapb.ScalaPbCodeGenerator$",
scalapb.ScalaPbCodeGenerator.suggestedDependencies
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment