サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
買ってよかったもの
www.scala-sbt.org
まとめ このページではこのガイドを総括する。 sbt を使うのに、理解すべき概念の数はさほど多くない。 確かに、これらには多少の学習曲線があるが、 sbt にはこれらの概念以外のことは特にないとも考えることもできる。 sbt は、強力なコア・コンセプトだけを用いて全てを実現している。 この「始める sbt」シリーズをここまで読破したのであれば、知るべきことが何かはもう分かっているはずだ。 sbt: コア・コンセプト Scala の基本。Scala の構文に慣れていると役立つのは言うまでもない。 Scala の設計者自身による Scalaスケーラブルプログラミング (原著)は、素晴らしい入門書だ。 .sbt ビルド定義 ビルド定義はタスクとタスク間のそ依存性の大きな DAG だ。 Setting を作成するために :=、+=、++= のようなキーに定義されたメソッドを呼び出す。 各セッティン
始める sbt sbt には、柔軟かつ強力なビルド定義(Build Definition)を支えるための独自の概念がいくつか存在している。 その概念は決して多くはないが、sbt は他のビルドシステムとは一味違うので、ドキュメントを読まずに使おうとすると、きっと細かい点でつまづいてしまうだろう。 この「始める sbt」では、sbt ビルド定義を作成してメンテナンスしていく上で知っておくべき概念を説明していく。 このガイドを一通り読んでおくことを強く推奨したい。 もしどうしても時間がないというなら、最も重要な概念は .sbt ビルド定義、 スコープ、と タスク・グラフ に書かれている。 ただし、それ以外のページを読み飛ばしても大丈夫かは保証できない。 このガイドの読み方だが、後ろの方のページはその前のページで紹介された概念の理解を前提に書かれているので、最初から順番に読み進めていくのがベストだ
> sbt Reference Manual Next Page > 始める sbt English日本語中文 (简体)Español ❦ Contents sbt Reference Manual 始める sbt sbt のインストール Mac への sbt のインストールWindows への sbt のインストールLinux への sbt のインストール Hello, Worldディレクトリ構造実行ビルド定義タスク・グラフスコープ値の追加スコープ委譲 (.value の照会)ライブラリ依存性マルチプロジェクト・ビルドプラグインの使用カスタムセッティングとタスクビルドの整理まとめ付録: bare .sbt ビルド定義付録: .scala ビルド定義 各論 プラグインとベストプラクティス sbt プラグインをテストする How to 逐次実行 Def.sequential を用いて逐次タス
This page has moved to ../docs/Getting-Started.html.
This page has moved to ../../docs/ja/Directories.html.
Plugins There’s a getting started page focused on using existing plugins, which you may want to read first. A plugin is a way to use external code in a build definition. A plugin can be a library used to implement a task (you might use Knockoff to write a markdown processing task). A plugin can define a sequence of sbt settings that are automatically added to all projects or that are explicitly de
Community Plugins sbt Organization The sbt organization is available for use by any sbt plugin. Developers who contribute their plugins into the community organization will still retain control over their repository and its access. The goal of the sbt organization is to organize sbt software into one central location. A side benefit to using the sbt organization for projects is that you can use gh
This page has moved to ../../docs/ja/Installing-sbt-on-Linux.html.
Proxy Repositories It’s often the case that users wish to set up a maven/ivy proxy repository inside their corporate firewall, and have developer sbt instances resolve artifacts through such a proxy. Let’s detail what exact changes must be made for this to work. Overview The situation arises when many developers inside an organization are attempting to resolve artifacts. Each developer’s machine w
This page has moved to ../../docs/ja/Activator-Installation.html.
This page has moved to ../../docs/ja/More-About-Settings.html.
Understanding Incremental Recompilation Compiling Scala code with scalac is slow, but sbt often makes it faster. By understanding how, you can even understand how to make compilation even faster. Modifying source files with many dependencies might require recompiling only those source files (which might take 5 seconds for instance) instead of all the dependencies (which might take 2 minutes for in
Docker Plugin¶ Docker images describe how to set up a container for running an application, including what files are present, and what program to run. https://docs.docker.com/introduction/understanding-docker/ provides an introduction to Docker. https://docs.docker.com/reference/builder/ describes the Dockerfile: a file which describes how to set up the image.
This page has moved to ../../docs/ja/Getting-Started.html.
The sbt-native-packager attempts to make building packages for different operating systems easier. While it provides some basic abstractions around packaging, it also allows you to dig down into the nuts and bolts of each platform as needed to generate the best package possible. Read the Introduction to learn how native-packager works. The Getting Started guide will help you set up your first pack
Basic Examples These are basic examples that use the default Maven-style repository layout. Filesystem Define a filesystem repository in the test directory of the current working directory and declare that publishing to this repository must be atomic. resolvers += Resolver.file("my-test-repo", file("test")) transactional() URL Define a URL repository at "https://example.org/repo-releases/". resolv
Testing Basics The standard source locations for testing are: Scala sources in src/test/scala/ Java sources in src/test/java/ Resources for the test classpath in src/test/resources/ The resources may be accessed from tests by using the getResource methods of java.lang.Class or java.lang.ClassLoader. The main Scala testing frameworks ( ScalaCheck, ScalaTest, and specs2) provide an implementation of
This page has moved to ../../docs/ja/Library-Dependencies.html.
This page has moved to ../../docs/ja/Hello.html.
sbt Reference Manual sbt is a build tool for Scala, Java, and more. It requires Java 1.6 or later. Install See Installing sbt for the setup instructions. Getting Started To get started, please read the Getting Started Guide. You will save yourself a lot of time if you have the right understanding of the big picture up-front. All documentation may be found via the table of contents included at the
Library Management¶ There's now a getting started page about library management, which you may want to read first. Documentation Maintenance Note: it would be nice to remove the overlap between this page and the getting started page, leaving this page with the more advanced topics such as checksums and external Ivy files. Introduction¶ There are two ways for you to manage libraries with sbt: manua
This page has moved to ../Incremental-Recompilation.html.
This page has moved to ../Setup.html.
Simple things easyHello, world!ThisBuild / scalaVersion := "3.3.1"You just need one line of build.sbt to get started with Scala. Learn more on sbt by Example page.sbt newChoose from community-maintained Giter8 templates to jump start your project:$ sbt new scala/scala-seed.g8 $ sbt new playframework/play-scala-seed.g8 $ sbt new akka/akka-http-quickstart-scala.g8 $ sbt new http4s/http4s.g8 $ sbt ne
このページを最初にブックマークしてみませんか?
『sbt, a simple build tool | sbt』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く