sbt/project/generate-launcher.sh

18 lines
611 B
Bash
Executable File

#!/bin/bash
VERSION=1.0.0-M1
CACHE_VERSION=v1
"$(dirname "$0")/../cli/target/pack/bin/coursier" bootstrap \
com.github.alexarchambault:coursier-cli_2.11:$VERSION \
-V com.github.alexarchambault:coursier_2.11:$VERSION \
-V com.github.alexarchambault:coursier-cache_2.11:$VERSION \
-D "\$HOME/.coursier/bootstrap/$VERSION" \
-r https://repo1.maven.org/maven2 \
-r https://oss.sonatype.org/content/repositories/releases \
-r https://oss.sonatype.org/content/repositories/snapshots \
-b \
-f -o coursier \
-M coursier.cli.Coursier \
-e COURSIER_CACHE="\$HOME/.coursier/cache/$CACHE_VERSION"