sbt/sbt-protobuf
62.0
Adequate · 7 November 2026
379
lines of production code
Scala
primary language
4
measurements over time
What this system is
Features
Initial project scaffolding and documentation
The repository is initialized with core project files, including an Apache 2.0 LICENSE, a .gitignore, and a version.sbt configuration using sbtdynver for dynamic versioning. Comprehensive usage documentation is added to README.md, detailing how to integrate the sbt-protobuf plugin, configure protobuf and gRPC settings, and manage generated source files. Additionally, a .scala-steward.conf file is introduced to pin the protobuf-java dependency to the 3.x series.
(repo-wide) · high confidence
Behavioural changes
Improved cache invalidation for protobuf generation
The sbt-protobuf plugin now correctly invalidates its build cache when the content of imported .proto files changes, ensuring that generated code stays in sync with dependencies. Additionally, the plugin respects new configuration options that allow users to exclude specific schema files from generation and customize the output directory and file patterns, providing finer control over the build process.
src/sbt-test/sbt-protobuf/cache-imports, src/sbt-test/sbt-protobuf/cache-options · medium confidence
Sbt-protobuf plugin migrated to sbt 1.0 and Scala 3 with AutoPlugin architecture
The sbt-protobuf plugin has been completely rewritten to support sbt 1.0+ and Scala 3, replacing the legacy \Plugin\ base with \AutoPlugin\ and introducing a \ScopedProtobufPlugin\ that allows configuration scoping (e.g., for Test vs Compile). This change introduces Scala 2/3 compatibility shims (\ProtobufPluginCompat\) to handle API differences in file handling and classpath management, updates the default protobuf version to 3.17.3, and modernizes the build structure by removing obsolete compatibility code for sbt 0.10/2.8 and sbt 0.13.x. Users will see improved integration with sbt's built-in caching, better handling of protoc executable paths with spaces, and support for gRPC code generation via the new \protobufGrpcEnabled\ setting.
src/main · high confidence
Test coverage
Add basic protobuf 3 test schemas; Added integration tests for sbt-protobuf basic functionality; Added multi-project scripted test for sbt-protobuf; Added sbt-protobuf gRPC integration test; Added scripted tests for protobuf file deletion behavior; Added test for protobuf exclude functionality; Added test protocol buffer definitions for task-scoped tests; Added test suite for protobuf dependency schema cleanup; Added tests for task-scoped protobuf generation.
Dependencies
Upgrade to sbt 2.0 support and protobuf 3.25.9
The plugin now supports sbt 2.0 (specifically 2.0.8) alongside sbt 1.5.8, enabling users to build with the latest sbt version. It also updates the default protobuf-java dependency to version 3.25.9 and protoc-gen-grpc-java to 1.84.0. Additionally, the build now generates a \SbtProtobufBuildInfo\ object to expose these default versions to the plugin code, and includes scripted tests to verify behavior across different sbt versions and protobuf configurations.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 64 → 62 (-2.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 76 → 76 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 54 → 54 (+0.0)
- Readiness 64 → 61 (-2.7)
- Security 82 → 70 (-12.1)
Resolved (1)
- Outdated: com.google.protobuf:protobuf-java
New (1)
- Dependency hygiene PARTLY measured — sbt declarations read, dependency currency not (Maven Central unreachable)
Changes since last survey
- 1 commits — 1 feature/other, 0 fixes
By area
- project/build.properties — 1 commit
Notable commits
- change: Update sbt, scripted-plugin to 1.13.1
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
sbt/sbt-protobuf was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 7 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 2fa131f08683a0bd70fa002ce9f957163961b6c3 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-5f8314471808.