Getting Started with SBT for Scala
Shiti Saxena
- 出版商: Packt Publishing
- 出版日期: 2013-08-29
- 售價: $1,420
- 貴賓價: 9.5 折 $1,349
- 語言: 英文
- 頁數: 86
- 裝訂: Paperback
- ISBN: 1783282673
- ISBN-13: 9781783282678
-
相關分類:
JVM 語言
下單後立即進貨 (約3~4週)
相關主題
商品描述
This practical guide to SBT will make your next large-scale Scala or Java project a lot more speedy and manageable. Familiarize yourself quickly and easily with the features and configuration of this powerful build tool.
Overview
- Establish simple and complex projects quickly
- Employ Scala code to define the build
- Write build definitions that are easy to update and maintain
- Customize and configure SBT for your project, without changing your project’s existing structure
In Detail
Build tools are a boon to developers working on large projects. With the configuration to run/execute the project moved out, developers can focus more on the project. SBT is a build tool designed for Scala and Java projects. It provides developers with a high productivity work environment hence it comes in really handy when dealing with large projects.
Getting Started with SBT for Scala gets you going with using SBT and also introduces its advanced concepts. SBT is a build tool that uses a Scala-based DSL. Additionally, SBT has some interesting features that come in handy during development, such as starting a Scala REPL with project classes and dependencies on the classpath, continuous compilation and testing with triggered execution, and much more.
Getting Started with SBT for Scala introduces SBT and its various features. It shows how to set up the build definition for a Scala project using sample code to explain different scenarios and use cases. It explains the basic configuration required to compile, test, and run a project using SBT. We will take a look at the additional configuration and settings that can be set to suit the project requirements. You will also learn how to handle project dependencies in SBT and use Scala files to define the build. It shows how to fork the JVM in SBT for different processes and specific configurations. It also explains the intricacies of the build definition, parallel execution.
This book will make you familiar with SBT so that you can use it for different kinds of projects like simple, and multiple modules which can be dependent or independent.
What you will learn from this book
- Explore the internal workings of SBT
- Uncover the various settings that play a significant role in the build
- Understand the different ways of managing project dependencies
- Learn how to customize the build to suit your project requirements
- Leverage the features of SBT to simplify the build process
- Configure the build for a multi-project with or without dependencies on different modules
Approach
A practical and fast-paced guide, Getting Started with SBT for Scala walks you through the setup of Scala projects in SBT with sample code for common as well as critical scenarios.
Who this book is written for
Getting Started with SBT for Scala is for developers working on Scala projects who are interested in learning and utilizing Simple Build Tool to manage the build process.