Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thesamet/sbt-protoc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.6
Choose a base ref
...
head repository: thesamet/sbt-protoc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.7
Choose a head ref

Commits on Jan 16, 2022

  1. Update mergify.yml

    thesamet committed Jan 16, 2022
    Copy the full SHA
    e5e416e View commit details

Commits on Jan 20, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1b380e7 View commit details

Commits on Jan 23, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    67b4c5f View commit details

Commits on Jan 29, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7619cfc View commit details

Commits on Feb 1, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1d27aaa View commit details

Commits on Feb 5, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d52bcbb View commit details

Commits on Feb 6, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    25b8c51 View commit details

Commits on Feb 12, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    db9a472 View commit details

Commits on Feb 25, 2022

  1. Copy the full SHA
    b61042a View commit details

Commits on Apr 2, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    497a95f View commit details

Commits on Apr 6, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d16c1b0 View commit details

Commits on Apr 21, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    000df10 View commit details

Commits on May 13, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c1d6f93 View commit details

Commits on Jul 10, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    163a91a View commit details

Commits on Jul 12, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8d28ce4 View commit details

Commits on Aug 14, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    00a782f View commit details

Commits on Oct 25, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c2e49a3 View commit details
  2. Bump up versions

    thesamet committed Oct 25, 2022
    Copy the full SHA
    6f0da83 View commit details
  3. Copy the full SHA
    50e3008 View commit details
  4. Bump up protoc-bridge

    thesamet committed Oct 25, 2022
    Copy the full SHA
    76d051f View commit details

Commits on Oct 28, 2022

  1. Copy the full SHA
    6fa2089 View commit details
  2. Fix ruby test

    thesamet committed Oct 28, 2022
    Copy the full SHA
    686e5bf View commit details

Commits on Nov 10, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    066d5a3 View commit details

Commits on Apr 14, 2023

  1. Update scalafmt-core to 3.7.3 (#329)

    * Update scalafmt-core to 3.7.3
    
    * Reformat with scalafmt 3.7.3
    
    Executed command: scalafmt --non-interactive
    
    * Add 'Reformat with scalafmt 3.7.3' to .git-blame-ignore-revs
    scala-steward authored Apr 14, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    259c021 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    58908ac View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    44eaa07 View commit details
  4. Update Scala.js

    thesamet committed Apr 14, 2023
    Copy the full SHA
    b716c51 View commit details

Commits on Sep 17, 2023

  1. Copy the full SHA
    f6f985e View commit details

Commits on Oct 19, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c1743b8 View commit details

Commits on Oct 21, 2023

  1. Update sbt to 1.9.6 (#351)

    povder authored Oct 21, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3dea845 View commit details

Commits on Oct 22, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    21f1bb0 View commit details

Commits on Oct 25, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    82192e3 View commit details
  2. Copy the full SHA
    37778b0 View commit details

Commits on Nov 18, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ef9670d View commit details

Commits on Jan 20, 2024

  1. Update github checkout

    thesamet committed Jan 20, 2024
    Copy the full SHA
    7f1e19f View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    30a589a View commit details
  3. Bump up protoc-bridge

    thesamet committed Jan 20, 2024
    Copy the full SHA
    9044b54 View commit details

Commits on Jan 21, 2024

  1. Bump up setup-scala

    thesamet committed Jan 21, 2024
    Copy the full SHA
    ea172f0 View commit details
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.7.3
0025d5c30e455eca8a1ffbf8304e69214f328cab
20 changes: 6 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: ["ubuntu-20.04", "macos-latest", "windows-latest"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]

steps:
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v10
- uses: actions/checkout@v4
- uses: olafurpg/setup-scala@v14
with:
java-version: 8
- name: Mount caches
@@ -22,10 +22,6 @@ jobs:
~/.ivy2/cache
~/.cache/coursier
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
- name: Install tools for Native
if: ${{runner.os != 'Windows' }}
run: |
./ci_setup.sh
- name: Remove native tests (Windows only)
if: ${{ runner.os == 'Windows' }}
run: |
@@ -46,12 +42,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "macos-latest", "windows-latest"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
scripted-sbt: ["1.2.8", "1.3.13", "project"]

steps:
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v10
- uses: actions/checkout@v4
- uses: olafurpg/setup-scala@v14
with:
java-version: 11
- name: Mount caches
@@ -62,10 +58,6 @@ jobs:
~/.ivy2/cache
~/.cache/coursier
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
- name: Install tools for Native
if: ${{runner.os != 'Windows' }}
run: |
./ci_setup.sh
- name: Compile and run scripted tests with older version
if: ${{ matrix.scripted-sbt != 'project' }}
env:
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -7,9 +7,9 @@ on:

jobs:
publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Scala caches
uses: actions/cache@v2
with:
11 changes: 8 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
queue_rules:
- name: default
conditions:
- check-success=ci-passed

pull_request_rules:
- name: assign and label scala-steward's PRs
conditions:
@@ -10,8 +15,8 @@ pull_request_rules:
- name: merge scala-steward's PRs
conditions:
- author=scala-steward
- status-success=ci-passed
- check-success=ci-passed
actions:
merge:
queue:
method: squash
strict: true
name: default
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=3.3.1
version=3.7.17
style = defaultWithAlign
maxColumn = 100
assumeStandardLibraryStripMargin = true
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.0.7]
* Update default protoc to 3.21.7
* For nix-os: support executing statically linked protoc (for versions >=3.23.0)

## [1.0.6]
* Update default protoc to 3.19.2.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -82,6 +82,8 @@ libraryDependencies ++= Seq(
)
```

**Step 3: Put some protos in src/main/protobuf and compile**

## Download plugins that are available on maven repository

To download an artifact and use it as a code generator plugin:
@@ -121,8 +123,6 @@ If you need to pass parameters to the plugin, it can be done as follows:
(grpcWebGen, Seq("mode=grpcwebtext")) -> (Compile / sourceManaged).value / "js"
)

**Step 3: Put some protos in src/main/protobuf and compile**

Migration notes
---------------

@@ -160,7 +160,7 @@ you probably want `Compile`)
Example settings:
```scala
// Force the version for the protoc binary
PB.protocVersion := "3.19.2"
PB.protocVersion := "3.21.7"

// Additional directories to search for imports:
Compile / PB.includePaths ++= Seq(file("/some/other/path"))
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -4,14 +4,14 @@ description := "SBT plugin for generating code from Protocol Buffer using protoc

scalacOptions := Seq("-deprecation", "-unchecked", "-Xlint", "-Yno-adapted-args")

scalacOptions += "-target:jvm-1.8"
scalacOptions += "-release:8"

scalaVersion := "2.12.15"
scalaVersion := "2.12.17"

addSbtPlugin("org.portable-scala" % "sbt-platform-deps" % "1.0.1")

libraryDependencies ++= Seq(
"com.thesamet.scalapb" %% "protoc-bridge" % "0.9.5"
"com.thesamet.scalapb" %% "protoc-bridge" % "0.9.7"
)

enablePlugins(SbtPlugin)
18 changes: 0 additions & 18 deletions ci_setup.sh

This file was deleted.

2 changes: 1 addition & 1 deletion examples/google-apis-external-jar/build.sbt
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import scalapb.compiler.Version.scalapbVersion

val GrpcProtosArtifact = "com.google.api.grpc" % "grpc-google-common-protos" % "1.17.0"

scalaVersion := "2.12.15"
scalaVersion := "2.12.16"

// This sub-project will hold the compiled Scala classes from the external
// jar.
6 changes: 3 additions & 3 deletions examples/scalajs-multiproject/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.0-RC2")
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6")

libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.10.8"
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.11.10"

addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.2.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.1")
11 changes: 7 additions & 4 deletions examples/scalapb-crossproject/build.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
import scalapb.compiler.Version.scalapbVersion

val Scala212 = "2.12.18"
val Scala213 = "2.13.12"

val sharedSettings = Seq(
name := "example",
version := "0.1.0",
scalaVersion := "2.11.12",
scalaVersion := "2.13.12",
Compile / PB.protoSources := Seq((ThisBuild / baseDirectory).value / "src" / "main" / "protobuf"),
Compile / PB.targets := Seq(
scalapb.gen() -> (Compile / sourceManaged).value / "protos"
@@ -20,9 +23,9 @@ lazy val example = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.in(file("."))
.enablePlugins(BuildInfoPlugin)
.settings(sharedSettings)
.jsSettings(crossScalaVersions := Seq("2.12.15", "2.13.4"))
.jvmSettings(crossScalaVersions := Seq("2.12.15", "2.13.4"))
.nativeSettings(crossScalaVersions := Seq("2.11.12"))
.jsSettings(crossScalaVersions := Seq(Scala212, Scala213))
.jvmSettings(crossScalaVersions := Seq(Scala212, Scala213))
.nativeSettings(crossScalaVersions := Seq("2.12.18", "2.13.12"))

lazy val exampleJS = example.js
lazy val exampleJVM = example.jvm
2 changes: 1 addition & 1 deletion examples/scalapb-crossproject/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.3.12
sbt.version=1.9.8
12 changes: 6 additions & 6 deletions examples/scalapb-crossproject/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.6.0")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "0.6.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.23")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.7")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.2.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.15")

addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")

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

libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.8.4"
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.11.13"
2 changes: 1 addition & 1 deletion examples/scalapb-dotty/src/main/scala/Main.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import myproto.test.TestMessage

@main def hello() = {
val x = TestMessage(foo=Some(3))
val x = TestMessage(foo = Some(3))
println("Welcome!")
println(x)
println(x.serializedSize)
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.6.1
sbt.version=1.9.8
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value

addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")

addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
57 changes: 31 additions & 26 deletions src/main/scala/sbtprotoc/ProtocPlugin.scala
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ object ProtocPlugin extends AutoPlugin {

private[this] def protobufGlobalSettings: Seq[Def.Setting[_]] =
Seq(
PB.protocVersion := "3.19.2",
PB.protocVersion := "3.21.7",
PB.deleteTargetDirectory := true,
PB.cacheArtifactResolution := true,
PB.cacheClassLoaders := true,
@@ -331,7 +331,7 @@ object ProtocPlugin extends AutoPlugin {
.value,
PB.runProtoc := Def.taskDyn {
val s = streams.value
if (PB.targets.value == Nil) {
if (PB.targets.value.isEmpty || schemasTask(PB.generate).value.isEmpty) {
Def.task {
// return a dummy instance that should never be evaluated
protocbridge.ProtocRunner.fromFunction[Int] { (_, _) =>
@@ -542,31 +542,36 @@ object ProtocPlugin extends AutoPlugin {
(FilesInfo[ModifiedFileInfo], URLClassLoader)
]

private[this] def sourceGeneratorTask(key: TaskKey[Seq[File]]): Def.Initialize[Task[Seq[File]]] =
private[this] def schemasTask(key: TaskKey[_]): Def.Initialize[Task[Set[File]]] = Def.task {
val toInclude = (key / includeFilter).value
val toExclude = (key / excludeFilter).value
val processManifests = (key / PB.manifestProcessing).value
val dependencies = (key / PB.unpackDependencies).value
val sources = (key / PB.protoSources).value

sources
.toSet[File]
.flatMap(srcDir =>
(srcDir ** (toInclude -- toExclude)).get
.map(_.getAbsoluteFile)
) match {
case protos if protos.nonEmpty =>
if (!processManifests) protos
else {
val optionProtos = dependencies.mappedFiles.values.flatMap(_.optionProtos)
protos ++ optionProtos
}
case _ => Set.empty[File]
}
}

private[this] def sourceGeneratorTask(key: TaskKey[_]): Def.Initialize[Task[Seq[File]]] =
Def.task {
val log = (key / streams).value.log
val resolver = (key / PB.artifactResolver).value
val cache = (key / PB.cacheClassLoaders).value && (key / PB.cacheArtifactResolution).value
val targets = (key / PB.targets).value
val toInclude = (key / includeFilter).value
val toExclude = (key / excludeFilter).value
val schemas = (key / PB.protoSources).value
.toSet[File]
.flatMap(srcDir =>
(srcDir ** (toInclude -- toExclude)).get
.map(_.getAbsoluteFile)
) match {
case protos if protos.nonEmpty =>
val processManifests = (key / PB.manifestProcessing).value
val dependencies = (key / PB.unpackDependencies).value

if (!processManifests) protos
else {
val optionProtos = dependencies.mappedFiles.values.flatMap(_.optionProtos)
protos ++ optionProtos
}
case _ => Set.empty[File]
}
val log = (key / streams).value.log
val resolver = (key / PB.artifactResolver).value
val cache = (key / PB.cacheClassLoaders).value && (key / PB.cacheArtifactResolution).value
val targets = (key / PB.targets).value
val schemas = schemasTask(key).value

// Include Scala binary version like "_2.11" for cross building.
val cacheFile =
2 changes: 1 addition & 1 deletion src/sbt-test/settings/include-protos-in-jar/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val protobufVersion = "3.11.4"
val protobufVersion = "3.21.7"

libraryDependencies += "com.google.protobuf" % "protobuf-java" % protobufVersion % "protobuf"

2 changes: 1 addition & 1 deletion src/sbt-test/settings/itconfig/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val protobufVersion = "3.11.4"
val protobufVersion = "3.21.7"

libraryDependencies += "com.google.protobuf" % "protobuf-java" % protobufVersion % "protobuf"

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
syntax = "proto3";

package sub.b;

message msg1 {
int32 thing = 1;
}
21 changes: 20 additions & 1 deletion src/sbt-test/settings/lazy-protoc-resolution/build.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
PB.protocDependency := "non" % "existing" % "artifact"
// PB.targets, no proto
lazy val a = project
.settings(
PB.protocVersion := "1.2.3+non-existing-a",
Compile / PB.targets := Seq(PB.gens.java -> (Compile / sourceManaged).value)
)

// no PB.targets, one proto
lazy val b = project
.settings(
PB.protocVersion := "1.2.3+non-existing-b"
)

// PB.targets, one ignored proto
lazy val c = project
.settings(
PB.protocVersion := "1.2.3+non-existing-c",
Compile / PB.targets := Seq(PB.gens.java -> (Compile / sourceManaged).value),
PB.generate / excludeFilter := "ignored.proto"
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
syntax = "proto3";

message ignored {
int32 thing = 1;
}
2 changes: 1 addition & 1 deletion src/sbt-test/settings/non-jvm/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Compile / PB.targets := Seq(
PB.gens.descriptorSet -> (Compile / resourceManaged).value / "newdirectory" / "descriptorset.pb",
PB.gens.js -> (Compile / resourceManaged).value / "js",
PB.gens.ruby -> (Compile / resourceManaged).value / "ruby",
PB.gens.java -> (Compile / sourceManaged).value
)

4 changes: 2 additions & 2 deletions src/sbt-test/settings/non-jvm/test
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
> package
$ exists target/scala-2.12/classes/newdirectory/descriptorset.pb
$ exists target/scala-2.12/classes/js/test1.js
$ exists target/scala-2.12/classes/ruby/test1_pb.rb
$ exists target/scala-2.12/classes/test/Test1.class

# make sure the cleanup before the call to protoc does not wipe anything else in the descriptorset directory
$ touch target/scala-2.12/resource_managed/main/newdirectory/dontdeleteme
> protocGenerate
$ exists target/scala-2.12/resource_managed/main/newdirectory/dontdeleteme
$ exists target/scala-2.12/resource_managed/main/newdirectory/dontdeleteme
2 changes: 1 addition & 1 deletion src/sbt-test/settings/sandboxed/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -9,5 +9,5 @@
}

libraryDependencies ++= Seq(
"com.thesamet.scalapb" %% "protoc-bridge" % "0.8.4"
"com.thesamet.scalapb" %% "protoc-bridge" % "0.9.6"
)
2 changes: 1 addition & 1 deletion src/sbt-test/settings/testconfig/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val protobufVersion = "3.11.4"
val protobufVersion = "3.21.7"

libraryDependencies += "com.google.protobuf" % "protobuf-java" % protobufVersion % "protobuf"