sbt/scripts/generate-sbt-launcher.sh

15 lines
306 B
Bash
Raw Normal View History

2017-02-21 15:57:41 +01:00
#!/usr/bin/env bash
set -e
2017-04-24 20:46:23 +02:00
VERSION=1.0.0-M15-2
2017-02-21 15:57:41 +01:00
"$(dirname "$0")/../coursier" bootstrap \
2017-04-24 20:46:23 +02:00
"io.get-coursier:sbt-launcher_2.12:$VERSION" \
2017-02-28 13:14:07 +01:00
-r sonatype:releases \
2017-04-24 20:46:22 +02:00
--no-default \
2017-02-21 15:57:41 +01:00
-i launcher \
-I launcher:org.scala-sbt:launcher-interface:1.0.0 \
-o csbt \
2017-04-24 20:46:22 +02:00
-J -Djline.shutdownhook=false \
"$@"