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

  • 相关阅读:
    Ionic4.x 中的button
    Ionic4.x 内置颜色
    Ionic4.x 中自定义公共模块
    Ionic4.x 新增底部 tabs 页面
    Ionic4.x 创建页面以及页面跳转
    Ionic4.x 项目结构简单分析
    判断Activty是否在前台运行
    Ionic 的安装运行
    Angular 自定义模块以及配置路由实现模块懒加载
    Angular 自定义模块
  • 原文地址:https://www.cnblogs.com/felixzh/p/10255145.html
Copyright © 2011-2022 走看看