Top "Sbt" questions

sbt is an open source build tool for Scala and Java projects, similar to Java's Maven or Ant.

How can I add unmanaged JARs in sbt-assembly to the final fat JAR?

My project has dependencies on a JAR file that isn't in Ivy, how can I include it directly in the …

scala sbt sbt-assembly
Getting sbt-assembly working

So thus far I've been compiling my Scala project with SBT (via Typesafe stack). I want to run the code …

scala jar sbt typesafe-stack sbt-assembly
How to execute tests in a single project only in multi-module build?

I have a multi-module build, and would like to run tests for different sub-projects independently. Is there a way to …

sbt
What are key differences between sbt-pack and sbt-assembly?

I've just stumbled upon the sbt-pack plugin. The development stream seems steady. It's surprising to me as I believed that …

sbt sbt-assembly
How to add "provided" dependencies back to run/test tasks' classpath?

Here's an example build.sbt: import AssemblyKeys._ assemblySettings buildInfoSettings net.virtualvoid.sbt.graph.Plugin.graphSettings name := "scala-app-template" version := "0.1" scalaVersion := "2.9.3" val …

scala sbt sbt-assembly
Trying to cross compile a project to Scala 2.11 fails with "error while loading Object, Missing dependency 'object scala in compiler mirror'"

I'm trying to compile my project to Scala 2.10 and 2.11 so that I can release versions for both scala versions, but …

scala sbt cross-compiling scala-2.11
Use SBT To Build Pure Java Project

Historically I have used Ant+Ivy or Maven for building my Java projects. I'm now looking at non-xml based solutions. …

java build sbt
scalatest : object scalatest is not a member of package org

EDIT : it works if the file is in src/test/scala/tests/ but not in src/main/scala/mypackage/ Why ? …

scala intellij-idea sbt scalatest
How to work efficiently with SBT, Spark and "provided" dependencies?

I'm building an Apache Spark application in Scala and I'm using SBT to build it. Here is the thing: when …

intellij-idea apache-spark sbt sbt-assembly
Migrating from Maven to SBT

As you know, SBT is compatible with Maven in some way -- SBT recognizes simple Maven POMs and can use …

java scala maven pom.xml sbt