Skip to content

Commit

Permalink
Removed unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
eltimn committed Feb 22, 2013
1 parent 78981a9 commit af0db61
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := "mongoauth"

liftVersion <<= liftVersion ?? "2.5-SNAPSHOT"

version <<= liftVersion apply { _ + "-" + "0.3-SNAPSHOT" }
version <<= liftVersion apply { _ + "-" + "0.4-SNAPSHOT" }

organization := "net.liftmodules"

Expand All @@ -14,11 +14,12 @@ resolvers += "CB Central Mirror" at "http://repo.cloudbees.com/content/groups/pu

resolvers += "Sonatype OSS Release" at "http://oss.sonatype.org/content/repositories/releases"

resolvers += "Sonatype Snapshot" at "http://oss.sonatype.org/content/repositories/snapshots"
resolvers += "Sonatype Snapshot" at "http://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies <++= (liftVersion) { liftVersion =>
Seq(
"net.liftweb" %% "lift-mongodb-record" % liftVersion % "compile",
"net.liftweb" %% "lift-webkit" % liftVersion % "compile",
"ch.qos.logback" % "logback-classic" % "1.0.3" % "provided",
"org.scalatest" %% "scalatest" % "1.9.1" % "test",
"org.mindrot" % "jbcrypt" % "0.3m" % "compile"
Expand All @@ -32,28 +33,12 @@ scalacOptions <<= scalaVersion map { sv: String =>
Seq("-deprecation", "-unchecked")
}

libraryDependencies <++= liftVersion { v =>
"net.liftweb" %% "lift-webkit" % v % "compile->default" ::
"net.liftweb" %% "lift-mapper" % v % "compile->default" ::
Nil
}

libraryDependencies ++= Seq(
"org.scala-tools.testing" % "specs_2.9.0" % "1.6.8" % "test", // For specs.org tests
"junit" % "junit" % "4.8" % "test->default", // For JUnit 4 testing
"javax.servlet" % "servlet-api" % "2.5" % "provided->default",
"com.h2database" % "h2" % "1.2.138", // In-process database, useful for development systems
"ch.qos.logback" % "logback-classic" % "0.9.26" % "compile->default" // Logging
)


// Sonatype publishing set up below this point

publishTo <<= version { _.endsWith("SNAPSHOT") match {
case true => Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
case false => Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
}
}
}}

credentials += Credentials( file("sonatype.credentials") )

Expand Down Expand Up @@ -84,6 +69,6 @@ pomExtra := (
<name>Tim Nelson</name>
<url>http://eltimn.com/</url>
</developer>
</developers>
</developers>
)

0 comments on commit af0db61

Please sign in to comment.