Skip to content

matejcerny/sbt-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-config

Latest version Build Status codecov

An sbt plugin that allows you to configure your Scala projects using HOCON configuration files instead of build.sbt.

Features

  • Configure project metadata (name, organization, version)
  • Set Scala version and compiler options
  • Declare dependencies in a simple organization:artifact:version format
  • Automatic cross-version handling for Scala dependencies
  • Publishing settings for sbt-ci-release (homepage, licenses, developers)
  • Creates a template build.conf if one doesn't exist

Quick Start

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"
]

Documentation

For complete documentation, visit matejcerny.github.io/sbt-config.

License

MIT

About

Configure sbt project via HOCON

Resources

Stars

Watchers

Forks

Packages

No packages published