Created
August 1, 2012 23:20
-
-
Save lazyval/3231506 to your computer and use it in GitHub Desktop.
sbt config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//~/.sbt/plugins/build.sbt | |
resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/" | |
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.1.0-SNAPSHOT") | |
scalaVersion := "2.9.1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// project/Build.scala | |
import sbt._ | |
import Keys._ | |
import AndroidKeys._ | |
object General { | |
val settings = Defaults.defaultSettings ++ Seq( | |
scalaVersion := "2.9.2" | |
) | |
} | |
object AndroidBuild extends Build { | |
lazy val main = Project("cvAndroid",file(".")) | |
lazy val tests = Project( | |
// blah blah | |
) dependsOn main | |
} | |
object Dependencies { | |
val scalaCompiler = "org.scala-lang" % "scala-compiler" % "2.9.2" | |
val scalaLibrary = "org.scala-lang" % "scala-library" % "2.9.2" | |
val scalaTest = "org.scalatest" %% "scalatest" % "1.8.RC1" % "test" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment