Skip to content

Instantly share code, notes, and snippets.

@joegaudet
Created January 24, 2012 00:58
Show Gist options
  • Select an option

  • Save joegaudet/1667063 to your computer and use it in GitHub Desktop.

Select an option

Save joegaudet/1667063 to your computer and use it in GitHub Desktop.
import AssemblyKeys._
name := "Aristotle"
version := "2.0"
seq(webSettings :_*)
mainClass in assembly := Some("com.matygo.Aristotle")
mainClass in (Compile, packageBin) := Some("com.matygo.Aristotle")
test in assembly := {}
seq(assemblySettings: _*)
libraryDependencies ++= Seq("org.eclipse.jetty" % "jetty-webapp" % "7.5.4.v20111024" % "container, compile",
"org.eclipse.jetty" % "jetty-servlets" % "7.5.4.v20111024" % "container, compile",
"org.eclipse.jetty" % "jetty-server" % "7.5.4.v20111024" % "container, compile",
"org.eclipse.jetty" % "jetty-plus" % "7.5.4.v20111024" % "container, compile",
"org.eclipse.jetty" % "jetty-client" % "7.5.4.v20111024" % "container, compile",
"org.eclipse.jetty" % "test-jetty-servlet" % "7.5.4.v20111024" % "container, compile",
"org.scalatra" %% "scalatra" % "2.0.2",
"org.scalatra" %% "scalatra-fileupload" % "2.0.2",
"org.scalatra" %% "scalatra-test" % "2.0.2",
"org.scalatra" %% "scalatra-scalatest" % "2.0.2",
"org.fusesource.scalate" % "scalate-core" % "1.5.3",
"org.fusesource.scalate" % "scalate-util" % "1.5.3",
"org.apache.tika" % "tika-core" % "0.9",
"org.apache.tika" % "tika-parsers" % "0.9",
"c3p0" % "c3p0" % "0.9.1.1",
"org.squeryl" %% "squeryl" % "0.9.4",
"mysql" % "mysql-connector-java" % "5.1.15",
"net.liftweb" %% "lift-json" % "2.4-M4",
"org.markdownj" % "markdownj" % "0.3.0-1.0.2b4",
"org.scribe" % "scribe" % "1.0.6",
"junit" % "junit" % "4.8.1" % "test",
"org.scalatest" %% "scalatest" % "1.6.1" % "test",
"org.mockito" % "mockito-all" % "1.9.0" % "test",
"com.twitter" % "util-core" % "1.10.2",
"com.twitter" % "util-logging" % "1.10.2",
"commons-codec" % "commons-codec" % "1.5",
"commons-validator" % "commons-validator" % "1.3.0",
"org.apache.commons" % "commons-email" % "1.2",
"org.reflections" % "reflections" % "0.9.5",
"se.scalablesolutions.akka" % "akka-actor" % "1.2",
"org.mindrot" % "jbcrypt" % "0.3m",
"org.slf4j" % "slf4j-simple" % "1.6.4")
resolvers ++= Seq(
"Sonatype OSS" at "http://oss.sonatype.org/content/repositories/releases/",
"Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/",
"twitter.com" at "http://maven.twttr.com",
"Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/",
"Scala Tools Releases" at "http://scala-tools.org/repo-releases/",
"FuseSource Snapshots" at "http://repo.fusesource.com/nexus/content/groups/public-snapshots",
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
"Maven Repo" at "http://repo2.maven.org/maven2/")
//fullRunTask(schema, Compile, "com.matygo.models.PrintSchema")
//
//fullRunTask(loadSchema, Compile, "com.matygo.models.LoadSchema")
//
//fullRunTask(dropSchema, Compile, "com.matygo.models.DropSchema")
//
//fullRunTask(loadTestSchema, Test, "com.matygo.models.LoadTestSchema")
//
//fullRunTask(dropTestSchema, Test, "com.matygo.models.DropTestSchema")
//
//fullRunTask(runNotification, Compile, "com.matygo.services.NotificationService")
//
//fullRunTask(seed, Compile, "com.matygo.models.Seed")
//
//fullRunTask(loadFrontEndTestSchema, Compile, "com.matygo.models.LoadFrontEndTestSchema")
//
//fullRunTask(dropFrontEndTestSchema, Compile, "com.matygo.models.DropFrontEndTestSchema")
//
//fullRunTask(frontEndSeed, Compile, "com.matygo.models.FrontEndSeed")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment