Scala sbt Development Environment Building tutorial
This article mainly introduces "scala sbt development environment building tutorial". In daily operation, I believe many people have doubts about building tutorials in scala sbt development environment. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "scala sbt development environment building tutorial". Next, please follow the editor to study!
1. Download address of sbt
Https://www.scala-lang.org/download/all.htmlhttps://www.scala-sbt.org/download.htmlhttps://plugins.jetbrains.comhttps://piccolo.link/sbt-1.3.0.ziphttps://plugins.jetbrains.com/files/5007/22670/idea-sbt-plugin-1.8.0.ziphttps://plugins.jetbrains.com/files/1347/44093/scala-intellij-bin-2018.1.6.zip
two。 Configure environment variables to path
3. Sbt configuration file
(1) sbt.boot.properties
[scala] version: ${sbt.scala.version-auto} [app] org: ${sbt.organization-org.scala-sbt} name: sbt version: ${sbt.version-read (sbt.version) [0.13.9]} class: ${sbt.main.class-sbt.xMain} components: xsbti Extra cross-versioned: ${sbt.cross.versioned-false} resources: ${sbt.extraClasspath-} [repositories] localhuaweicloud-maven: https://repo.huaweicloud.com/repository/maven/my-maven-repo: https://maven.aliyun.com/nexus/content/groups/publictypesafe: https://dl.bintray.com/typesafe/ivy-releases/, [organization] / [module] / (scala_ [scalaVersion] /) (sbt_ [sbtVersion] /) [revision] / [type] s / [artifact] (- [classifier]). [ext], bootOnlysbt-plugin-repo: http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases, [organization] / [module] / scala_ [scalaVersion] /) (sbt_ [sbtVersion] /) [revision] / [type] s / [artifact] (- [classifier]). [ext] sbt-plugin: https://dl.bintray.com/sbt/sbt-plugin-releases, [organization] / [module] / (scala_ [scalaVersion] /) [revision] / [type] s / [artifact] (- [classifier]). [ext] [boot] directory: ${sbt.boot.directory-$ {sbt.global.base-$ {user.home} / .sbt} / boot/} [ivy] ivy-home: ${sbt.ivy.home-$ {user.home} / .ivy2 /} checksums: ${sbt.checksums-sha1 Md5} override-build-repos: ${sbt.override.build.repos-false} repository-config: ${sbt.repository.config-$ {sbt.global.base-$ {user.home} / .sbt} / repositories}
(2) sbtconfig.txt
The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!