sbt 安装
发布时间:2020-12-14 02:38:12 所属栏目:Windows 来源:网络整理
导读:此次安装实在windows 下进行的 1.官网下载sbt 2.安装并配置环境变量 path? 中添加: 3.更改sbt配置文件 1)修改C:notossoftwaresbtconfsbtconfig.txt # Set the java args to high - Xmx512M -XX:MaxPermSize= 256m -XX:ReservedCodeCacheSize= 128m# S
此次安装实在windows 下进行的 1.官网下载sbt 2.安装并配置环境变量 path? 中添加: 3.更改sbt配置文件 1)修改C:notossoftwaresbtconfsbtconfig.txt # Set the java args to high -Xmx512M -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=128m # Set the extra SBT options -Dsbt.log.format=true -Dsbt.boot.directory=C:UsersMI.sbtboot -Dsbt.global.base=C:UsersMI.sbt -Dsbt.ivy.home=C:UsersMI.ivy2 -Dsbt.repository.config=C:notossoftwaresbtconfrepo.properties -Dsbt.repository.secure=false # 设置代理 # -Dhttp.proxyHost=10.18.11.11 # -Dhttp.proxyPort=8080 # -Dhttp.proxyUser=xx # -Dhttp.proxyPassword=xx # -Dhttps.proxyHost=10.18.1111 # -Dhttps.proxyPort=8080 # -Dhttps.proxyUser=xx # -Dhttps.proxyPassword=xx ? ?2)修改repo.properties,添加国内镜像 [repositories] local aliyun: http://maven.aliyun.com/nexus/content/groups/public/ typesafe: http://repo.typesafe.com/typesafe/ivy-releases/,[organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext],bootOnly sonatype-oss-releases maven-central sonatype-oss-snapshots 3.测试sbt 是否可用 打开cmd,键入sbt,若出现如下内容则安装成功,第一次启动sbt时间比较长 4.idea 中配置sbt (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |