Philippus/sbt-dotenv
58.4
Adequate · 7 November 2026
455
lines of production code
Scala
with Java
4
measurements over time
What this system is
Features
Support for variable expansion and configurable .env file names
Users can now define a custom file name for the environment configuration via the new \envFileName\ setting, and the plugin supports expanding variables within \.env\ files using \$VAR\ or \${VAR}\ syntax (with up to 3 levels of nesting). The plugin also now applies environment variables natively to the JVM process in addition to the previous fallback mechanism, and allows the \.env\ file to be loaded in the Test configuration as well as the default scope.
src/main/scala · high confidence
sbt-dotenv v3.3.0: New features, group ID change, and Scala 2.12 support
This release updates the plugin to version 3.3.0 with a changed group ID from \au.com.onegeek\ to \nl.gn0s1s\ and adds support for Scala 2.12 via the new \runner.dialect\ setting in \.scalafmt.conf\. Users gain new capabilities including variable expansion (e.g., \$FOO\, \${FOO}\), the ability to specify custom \.env\ file names per scope (e.g., \Test / envFileName\), and support for multiline variables. The plugin now requires sbt 1.5.8+ and includes configuration in \.sbtopts\ to handle Java 16+ reflective access warnings.
(repo-wide) · high confidence
Behavioural changes
Native environment variable updates now propagate to child processes
A new NativeEnvironmentManager implementation has been added to allow environment variables to be set directly in the underlying OS environment rather than only in the JVM view. This ensures that changes made to environment variables are visible to any child processes spawned by the application, addressing a limitation where previous methods only affected the current JVM's environment map.
src/main/java · high confidence
Test coverage
Added scripted tests for sbt-dotenv plugin behavior; Expanded test coverage for SBT dotenv plugin parsing and environment handling.
Dependencies
Updated build configuration and added scripted tests
The build manifest (build.sbt) has been updated to use Scala 2.12.21 (with cross-compilation support for Scala 3.8.4) and sbt 1.5.8/2.0.0, while upgrading the test framework to ScalaTest 3.2.20 and adding the sbt2-compat plugin. Additionally, a comprehensive suite of scripted tests was added to verify the plugin's behavior, including loading .env files, handling custom filenames, on-demand loading per configuration, preserving existing environment variables, skipping invalid lines, supporting variable expansion, and correctly removing variables after a reload.
(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 58 → 58 (+0.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 69 → 69 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 53 → 51 (-2.3)
- Readiness 48 → 52 (+4.1)
- Security 88 → 81 (-6.3)
Resolved (1)
- Off-boarding risk: anonymized user #1
New (2)
- Dependency hygiene PARTLY measured — sbt declarations read, dependency currency not (Maven Central unreachable)
- Off-boarding risk: anonymized user #1
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 (#359)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
Philippus/sbt-dotenv 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 f4b83949f96de8bd16465902888a90fe9584ed63 — 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.