An sbt plugin that allows you to configure your Scala projects using HOCON configuration files instead of build.sbt.
- Configure project metadata (name, organization, version)
- Set Scala version and compiler options
- Declare dependencies in a simple
organization:artifact:versionformat - Automatic cross-version handling for Scala dependencies
- Publishing settings for sbt-ci-release (homepage, licenses, developers)
- Creates a template
build.confif one doesn't exist
Add the plugin to your project/plugins.sbt:
addSbtPlugin("io.github.matejcerny" % "sbt-config" % "0.2.1")Then configure your project in build.conf:
name = "my-project"
organization = "com.example"
version = "0.1.0-SNAPSHOT"
scalaVersion = "3.3.4"
dependencies = [
"org.typelevel:cats-core:2.13.0"
]For complete documentation, visit matejcerny.github.io/sbt-config.
MIT