created by Aha00aAha00a at 2015-05-20
last modified by Aha00aAha00a at 2023-12-28
revision: 12

sbt

Simple Build Tool.

http://www.scala-sbt.org

http://twitter.github.io/scala_school/ko/sbt.html

절대로 심플하지 않은 심플 빌드 툴. --2019-12-22

AhaWiki를 새로 받아서 sbt를 돌리면 dependency resolution에 거의 40분 걸린다. 문제가 크다. 간단히 생각해보면 한번에 하나씩 받는데, 이걸 어떻게든 parallel로 돌릴 수 없나? 뭔가 문제가 있어서 개선을 못하고 있는 거겠지? 근데 너무 심하다. --2019-12-09

1. Installation

https://www.scala-sbt.org/download.html

choco install sbt

--2023-12-27

2. Directory Structure

  • project/
    • Build.scala
    • build.properties
  • src/
    • main/
      • resources/
      • scala/
      • java/
    • test/
      • resources/
      • scala/
      • java/
  • build.sbt

3. Tips

3.1. To prevent update

stackoverflow - How to disable dependency resolution during 'package' in sbt

https://www.scala-sbt.org/1.x/docs/Dependency-Management-Flow.html#Caching+and+Configuration

무슨 조건으로 자동 수행되는지 알 수 없는 update. build.sbt에 아래를 추가하면 update를 하지 않는다. update가 필요할때는 직접 update명령을 날리면 된다고 한다.

skip in update := true

--2019-12-22

5. See Also

5.2. Similar Pages

Similar pages by cosine similarity. Words after page name are term frequency.

  • 42.52% Scala scala(8:14), sbt(9:1), org(3:4), www(3:2), html(3:1), pages(1:2), related(1:2), download(1:1), main(1:1), true(1:1)
  • 40.86% sbtMavenRepositoryHttpIssue sbt(9:15), scala(8:1), maven(1:6), build(5:1), org(3:3), github(1:1), issue(1:1), project(1:1), repository(1:1)

5.3. Adjacent Pages

≤ 32
all
1.0x
1.0x
80
-120
ON
0/0
0/0
0.00
0
0 / 0
1.00x