Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 2.75 KB

README.md

File metadata and controls

55 lines (41 loc) · 2.75 KB

dotsbt: Plugins for sbt-extras

This set of sbt files adds plugins to projects without having to modify each of them individually. Originally, I created it so that I could add the Eclipse plugin to projects without having to manage a personal branch and quickly generate an Eclipse project to browse the source, since Scala is very difficult to read without an IDE.

Sbt does provide a global mechanism to place common definitions into ~/.sbt, but if you have projects that require different and incompatible versions of these, you would have to change them each time you switch projects. This is part of the motivation for why Paul Philips created a wrapper sbt script to discover the sbt version from the project and to create a consistent execution environment. It creates version-specific subdirectories of ~/.sbt with the release number of sbt and selects those at build time.

As a result, you need to create copies of the plugin files for each version of sbt used in your projects.

This set of files is an attempt to find consistent versions of those plugins.

The result hopefully can reduce the project churn as different developers modify the tooling for their favorite IDE or analysis tool of the week.

In order for this to work with older versions of sbt specified in a project, you need to use the updated version that contains pull #68 from yyuu that restores downloads of older launcher versions.

This is a quick hack and not all combinations have been tested and may not be correct. Please submit fixes.

Installation

Clone this repo and put it into ~/.sbt.

Remove unnecessary tooling from your projects.

Do not remove tooling that is necessary for build systems...

List of Plugins