Skip to content

Commit

Permalink
Basic SBT project files.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzorn committed May 23, 2011
1 parent 8561d4b commit 7cdd984
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
8 changes: 8 additions & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#Project properties
#Thu Apr 28 15:09:14 EEST 2011
project.organization=org.gridfun
project.name=gridfun
sbt.version=0.7.4
project.version=0.1
build.scala.versions=2.8.1
project.initialize=false
31 changes: 31 additions & 0 deletions project/build/Project.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import sbt._
import com.github.retronym.OneJarProject

class Project(info: ProjectInfo) extends DefaultProject(info) with IdeaProject with OneJarProject { // with AkkaProject

// override def mainClass = Some("org.foo.MainObj")

// Scala unit testing
val scalatest = "org.scalatest" % "scalatest" % "1.3"

// Simplex libs
def simplex3dJars = descendents("lib" / "simplex3d", "*.jar")

// override def unmanagedClasspath = super.unmanagedClasspath +++ jme3Jars +++ simplex3dJars

/*
// Akka libraries, uncomment if / as needed.
val akkaStm = akkaModule("stm")
val akkaTypedActor = akkaModule("typed-actor")
val akkaRemote = akkaModule("remote")
val akkaHttp = akkaModule("http")
val akkaAmqp = akkaModule("amqp")
val akkaCamel = akkaModule("camel")
val akkaSpring = akkaModule("spring")
val akkaJta = akkaModule("jta")
val akkaCassandra = akkaModule("persistence-cassandra")
val akkaMongo = akkaModule("persistence-mongo")
val akkaRedis = akkaModule("persistence-redis")
*/

}
13 changes: 13 additions & 0 deletions project/plugins/Plugins.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import sbt._

class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
// val akkaRepo = "Akka Repo" at "http://akka.io/repository"
// val akkaPlugin = "se.scalablesolutions.akka" % "akka-sbt-plugin" % "1.0"

val sbtIdeaRepo = "sbt-idea-repo" at "http://mpeltonen.github.com/maven/"
val sbtIdea = "com.github.mpeltonen" % "sbt-idea-plugin" % "0.3.0"

val retronymSnapshotRepo = "retronym's repo" at "http://retronym.github.com/repo/releases"
val onejarSBT = "com.github.retronym" % "sbt-onejar" % "0.2"

}

0 comments on commit 7cdd984

Please sign in to comment.