Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Scala modules sbt plugin

This is an sbt plugin for building Scala modules.
This is an sbt 1.x plugin for building Scala modules.

## What modules use it?

Expand All @@ -24,15 +24,6 @@ release is made by pushing a tag to GitHub. Travis-CI then stages
artifacts on Sonatype. Pressing "Close" and "Release" in the Sonatype
web UI will then send the artifacts to Maven Central.

## Branches and versions

The main development branch is 2.x; only sbt 1 is supported there.

sbt 0.13 support is on the legacy 1.x branch.

Scala modules are encouraged to move to sbt 1 on their primary
development branches as soon as reasonably possible.

## Usage

Add the plugin to the `project/plugins.sbt` file:
Expand All @@ -59,7 +50,7 @@ version := "<module version>"
scalaVersionsByJvm in ThisBuild := {
val v211 = "2.11.12"
val v212 = "2.12.8"
val v213 = "2.13.0-M5"
val v213 = "2.13.0-RC1"
// Map[JvmMajorVersion, List[(ScalaVersion, UseForPublishing)]]
Map(
8 -> List(v211 -> true, v212 -> true, v213 -> true),
Expand Down Expand Up @@ -98,7 +89,7 @@ Tag the release and add release notes to https://github.com/scala/sbt-scala-modu
- Make sure the current `HEAD` is a tagged revision. In sbt, `version` (set by sbt-git) should be according to a tag.

> version
[info] 1.0.13
[info] 2.3.4

- Run `publish` in sbt. If you don't have a `~/.bintray/.credentials` file, the sbt-bintray plugin will ask you for your
username and API key. The API key can be obtained under "Edit Profile" (https://bintray.com/profile/edit). The sbt-bintray
Expand All @@ -110,4 +101,4 @@ Tag the release and add release notes to https://github.com/scala/sbt-scala-modu
- Search for your plugin (`sbt-scala-module`)
- Click "Send" to send the request

The above instructions are a short version of http://www.scala-sbt.org/0.13/docs/Bintray-For-Plugins.html.
The above instructions are a short version of https://www.scala-sbt.org/1.x/docs/Bintray-For-Plugins.html.