Top "Sbt" questions

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

Adding Play JSON Library to sbt

How can I add the Play JSON library (play.api.libs.json) to my sbt project? When I added the …

playframework sbt playframework-2.1
SBT compilation for play framework 2.x disabled by default

I created a new Play Framework project using the activator, activator new my-project-name and then I selected the play-java template …

intellij-idea playframework sbt
How to prevent java.lang.OutOfMemoryError: PermGen space at Scala compilation?

I have noticed a strange behavior of my scala compiler. It occasionally throws an OutOfMemoryError when compiling a class. Here's …

scala apache-spark memory-management sbt scalatra-sbt
Why is the error Conflicting cross-version suffixes?

I'm getting this error when I try to compile a Scala project in sbt. Modules were resolved with conflicting cross-version …

scala sbt akka spray
Class broken error with Joda Time using Scala

I'm adding the Joda Time repository to SBT with libraryDependencies ++= Seq( "joda-time" % "joda-time" % "2.1" ) Then I merrily use it like this: …

scala sbt jodatime
How do I run an sbt main class from the shell as normal command-line program?

How can I run an sbt app from the shell, so that I can run my app as a normal …

scala classpath sbt
SBT + Idea 13 => Cannot resolve symbol

I'm using SBT + Idea 13.1.1 and I have all my SBT file in red: name := "Transformer" version := "1.0" libraryDependencies ++= Seq( "com.github.…

intellij-idea sbt
What's recommended .gitignore for Scala/sbt project in IntelliJ IDEA?

I created a new Scala/sbt project in IntelliJ IDEA 13. Since other team members will be working on this project (…

git scala intellij-idea sbt
Intellij IDEA java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object

I have a following function: def removeLast(list: List[Int]): List[Int] = list match { case List() => List() case List(…

scala intellij-idea sbt intellij-13
SBT to Maven Converter

Since most IDEs are only able to import Maven projects, I'd like to generate a POM.xml from an SBT …

scala maven sbt