zoukankan      html  css  js  c++  java
  • sbt安裝與配置

    官方下載地址:https://www.scala-sbt.org/download.html?spm=a2c4e.11153940.blogcont238365.9.42d147e0iF8dhv

    解压即安装,配置环境变量。

    在conf文件夹下新建repo.properties(默认源真的无法忍受

    [repositories]  
      local
      Nexus osc : https://code.lds.org/nexus/content/groups/main-repo
      Nexus osc thirdparty : https://code.lds.org/nexus/content/groups/plugin-repo/
      typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly  
      typesafe2: http://repo.typesafe.com/typesafe/releases/
      sbt-plugin: http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/
      sonatype: http://oss.sonatype.org/content/repositories/snapshots  
      uk_maven: http://uk.maven.org/maven2/  
      ibibli: http://mirrors.ibiblio.org/maven2/  
      repo2: http://repo2.maven.org/maven2/
    
      comp-maven:http://mvnrepository.com/artifact/
      store_cn:http://maven.oschina.net/content/groups/public/
      store_mir:http://mirrors.ibiblio.org/maven2/
      store_0:http://maven.net.cn/content/groups/public/
      store_1:http://repo.typesafe.com/typesafe/ivy-releases/
      store_2:http://repo2.maven.org/maven2/
    
      sbt-releases-repo: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
      sbt-plugins-repo: http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
      maven-central: http://repo1.maven.org/maven2/

    验证效果

    sbt

    看是否进入sbt shell

  • 相关阅读:
    mysql 删除与安装
    mysql 中文乱码 或 问号
    系统锁屏
    技术相关
    织梦 php 网站建设
    linux mysql 安装与使用
    技术收集
    批处理 关闭 进程
    二十三种设计模式
    三星(samsung)手机i699内容:解锁boot loader,刷recovery,刷机(刷rom),root综合教程
  • 原文地址:https://www.cnblogs.com/felixzh/p/10255145.html
Copyright © 2011-2022 走看看