Skip to content

Commit

Permalink
change scalachess dependency to a git submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jul 29, 2012
1 parent cbbcd5f commit 6354d45
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "scalachess"]
path = scalachess
url = git:https://github.com/ornicar/scalachess
8 changes: 4 additions & 4 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ trait Resolvers {
}

trait Dependencies {
val scalachess = "com.github.ornicar" %% "scalachess" % "2.12"
val scalaz = "org.scalaz" %% "scalaz-core" % "6.0.4"
val specs2 = "org.specs2" %% "specs2" % "1.11"
val salat = "com.novus" %% "salat-core" % "1.9-SNAPSHOT"
Expand All @@ -38,7 +37,7 @@ object ApplicationBuild extends Build with Resolvers with Dependencies {

private val buildSettings = Project.defaultSettings ++ Seq(
organization := "com.github.ornicar",
version := "1.0",
version := "1.1",
scalaVersion := "2.9.1",
resolvers := Seq(iliaz, codahale, sonatype, sonatypeS, typesafe, t2v, guice, jgitMaven, christophs),
libraryDependencies := Seq(scalaz, scalalib, hasher),
Expand All @@ -51,7 +50,6 @@ object ApplicationBuild extends Build with Resolvers with Dependencies {

lazy val lila = PlayProject("lila", mainLang = SCALA, settings = buildSettings).settings(
libraryDependencies ++= Seq(
scalachess,
config,
json,
salat,
Expand All @@ -71,7 +69,9 @@ object ApplicationBuild extends Build with Resolvers with Dependencies {
"lila.ui",
"lila.http.Context",
"com.github.ornicar.paginator.Paginator")
)
) dependsOn scalachess

lazy val scalachess = Project("scalachess", file("scalachess"))

lazy val cli = Project("cli", file("cli"), settings = buildSettings).settings(
libraryDependencies ++= Seq()
Expand Down
1 change: 1 addition & 0 deletions scalachess
Submodule scalachess added at 9b2b0b

0 comments on commit 6354d45

Please sign in to comment.