1
1
# Scala modules sbt plugin
2
2
3
- This is an sbt plugin for building Scala modules.
3
+ This is an sbt 1.x plugin for building Scala modules.
4
4
5
5
## What modules use it?
6
6
@@ -24,15 +24,6 @@ release is made by pushing a tag to GitHub. Travis-CI then stages
24
24
artifacts on Sonatype. Pressing "Close" and "Release" in the Sonatype
25
25
web UI will then send the artifacts to Maven Central.
26
26
27
- ## Branches and versions
28
-
29
- The main development branch is 2.x; only sbt 1 is supported there.
30
-
31
- sbt 0.13 support is on the legacy 1.x branch.
32
-
33
- Scala modules are encouraged to move to sbt 1 on their primary
34
- development branches as soon as reasonably possible.
35
-
36
27
## Usage
37
28
38
29
Add the plugin to the ` project/plugins.sbt ` file:
@@ -59,7 +50,7 @@ version := "<module version>"
59
50
scalaVersionsByJvm in ThisBuild := {
60
51
val v211 = "2.11.12"
61
52
val v212 = "2.12.8"
62
- val v213 = "2.13.0-M5 "
53
+ val v213 = "2.13.0-RC1 "
63
54
// Map[JvmMajorVersion, List[(ScalaVersion, UseForPublishing)]]
64
55
Map(
65
56
8 -> List(v211 -> true, v212 -> true, v213 -> true),
@@ -98,7 +89,7 @@ Tag the release and add release notes to https://github.com/scala/sbt-scala-modu
98
89
- Make sure the current ` HEAD ` is a tagged revision. In sbt, ` version ` (set by sbt-git) should be according to a tag.
99
90
100
91
> version
101
- [info] 1.0.13
92
+ [info] 2.3.4
102
93
103
94
- Run ` publish ` in sbt. If you don't have a ` ~/.bintray/.credentials ` file, the sbt-bintray plugin will ask you for your
104
95
username and API key. The API key can be obtained under "Edit Profile" (https://bintray.com/profile/edit ). The sbt-bintray
@@ -110,4 +101,4 @@ Tag the release and add release notes to https://github.com/scala/sbt-scala-modu
110
101
- Search for your plugin (` sbt-scala-module ` )
111
102
- Click "Send" to send the request
112
103
113
- The above instructions are a short version of http ://www.scala-sbt.org/0.13 /docs/Bintray-For-Plugins.html .
104
+ The above instructions are a short version of https ://www.scala-sbt.org/1.x /docs/Bintray-For-Plugins.html .
0 commit comments