Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sbt assembly plugin and metrics dependency

Signed-off-by: fedesilva <fede.silva@gmail.com>
  • Loading branch information...
commit 9843e44f553dd48e95741504108abac55b78fa5d 1 parent 81f08a7
@fedesilva authored
View
14 project/build.scala → project/ThinkStatsBuild.scala
@@ -1,19 +1,22 @@
import sbt._
import sbt.Keys._
+import sbtassembly.Plugin._
+import AssemblyKeys._
+
object ThinkStatsBuild extends Build {
- lazy val prj1 = Project(
+ lazy val thinkStats = Project(
id = "think-stats",
base = file("."),
- settings = Project.defaultSettings ++ Seq(
+ settings = Project.defaultSettings ++ assemblySettings ++ Seq(
name := "ThinkStats",
organization := "pragmagica",
version := "0.1-SNAPSHOT",
- scalaVersion := "2.10.0-RC3",
+ scalaVersion := "2.10.0-RC5",
// Dependencies
libraryDependencies ++=
@@ -22,9 +25,10 @@ object ThinkStatsBuild extends Build {
"com.github.scala-incubator.io" %% "scala-io-core" % "0.4.1" excludeAll (
ExclusionRule(organization = "javax.transaction") // wtf!
),
- "com.github.scala-incubator.io" %% "scala-io-file" % "0.4.1"
+ "com.github.scala-incubator.io" %% "scala-io-file" % "0.4.1",
+ "com.yammer.metrics" % "metrics-core" % "2.2.0"
) ++
- // Test depedencies
+ // Test dependencies
Seq(
"org.specs2" %% "specs2" % "1.12.3" % "test"
//"org.scalatest" %% "scalatest" % "1.8" % "test"
View
5 project/plugins.sbt
@@ -0,0 +1,5 @@
+resolvers += Resolver.url("artifactory",
+ url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
+
+addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.5")
+
Please sign in to comment.
Something went wrong with that request. Please try again.