Skip to content

Commit 0f46c34

Browse files
authored
provide official sbt launch script as default (#43)
also continue providing sbt-extras, but as `sbtx`
1 parent 7418555 commit 0f46c34

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ sbt.
55

66
- Configurable Java version: supports OpenJDK, GraalVM, Zulu and any other Java
77
version that's installable via Jabba.
8-
- The `sbt` command is installed using the
9-
[paulp/sbt-extras](https://github.com/paulp/sbt-extras/) launcher.
10-
- For faster startup, the `csbt` command is installed using the Coursier-based
11-
[coursier/sbt-extras](https://github.com/coursier/sbt-extras/) launcher. This
12-
launcher does not work with all builds, only use `csbt` if you know what you
13-
are doing.
148
- Cross-platform: works on Linux, macOS, Windows.
9+
- The `sbt` command is provided, with the official sbt launch script.
10+
- The following alternate sbt launch scripts are also provided:
11+
- `sbtx` runs the [sbt-extras](https://github.com/dwijnand/sbt-extras/) launcher.
12+
- `csbt` runs the [Coursier-based sbt-extras](https://github.com/coursier/sbt-extras/) launcher.
1513

1614
## Usage:
1715

src/install.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,13 @@ function installSbt() {
114114
core.startGroup("Install sbt");
115115
core.addPath(bin);
116116
curl(
117-
"https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt",
117+
"https://raw.githubusercontent.com/sbt/sbt/develop/sbt",
118118
path.join(bin, "sbt")
119119
);
120+
curl(
121+
"https://raw.githubusercontent.com/dwijnand/sbt-extras/master/sbt",
122+
path.join(bin, "sbtx")
123+
);
120124
curl(
121125
"https://raw.githubusercontent.com/coursier/sbt-extras/master/sbt",
122126
path.join(bin, "csbt")

0 commit comments

Comments
 (0)