我顶你个肺哦,sbt就像*(屏蔽字)一样,半天拉不出来。
用了这么多 maven,gradle,nuget , pip ,没有一个像这么难用的
注意改仓库地址
1. .sbt下的repo.properties
local
oschina nexus:http://maven.oschina.net/content/groups/public/
typesafe-ivy-releases: https://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
maven-central
sbt-plugins-repo: http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
play: http://private-repo.typesafe.com/typesafe/maven-releases/
sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots
先解压jar
再更新 sbt目录下的sbt.boot.properties
再打包jar 。jar -cfM sbt-launch.jar ./