sbt/notes/0.13.8.markdown

2.0 KiB

Improvements

  • Discovered main classes will be sorted. #1180 by @kretes
  • Implemented a new mechanism of forking javac, whereby errors are captured. Also more likely to run in-process. #1702 by @jsuereth
  • Adds project-level dependency exclusions. See below.

Fixes

Project-level dependency exclusions

sbt 0.13.8 adds project-level dependency exclusions:

excludeDependencies += "org.apache.logging.log4j"
excludeDependencies += "com.example" %% "foo"

In the first example, all artifacts from the organization "org.apache.logging.log4j" are excluded from the managed dependency. In the second example, artifacts with the organization "com.example" and the name "foo" cross versioned to the current scalaVersion are excluded. #1748 by @eed3si9n