aboutsummaryrefslogtreecommitdiff
path: root/test/simple/build/build.scala
blob: 5782c2dc25d737938149805cc558b044c1cca5a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import cbt._
import scala.collection.immutable.Seq
import java.io.File

class Build(context: cbt.Context) extends BasicBuild(context){
  override def dependencies = (
    super.dependencies
    ++
    Seq(
      GitDependency("https://github.com/xdotai/diff.git", "666bbbf4dbff6fadc81c011ade7b83e91d3f9256"),
      MavenRepository.central.resolve(
        ScalaDependency("com.typesafe.play", "play-json", "2.4.4"),
        MavenDependency("joda-time", "joda-time", "2.9.2"),
        // the below tests pom inheritance with dependencyManagement and variable substitution for pom properties
        MavenDependency("org.eclipse.jgit", "org.eclipse.jgit", "4.2.0.201601211800-r"),
        // the below tests pom inheritance with variable substitution for pom xml tag contents
        MavenDependency("com.spotify", "missinglink-core", "0.1.1"),
        // the below tests pom inheritance with variable substitution being parts of strings
        MavenDependency("cc.factorie","factorie_2.11","1.2")
        // the dependency below uses a maven version range. Currently not supported.
        // TODO: put in a proper error message for version range not supported
        //MavenDependency("com.github.nikita-volkov", "sext", "0.2.4")
      ),
      MavenRepository.combine(
        MavenRepository.central,
        MavenRepository.bintray("tpolecat"),
        MavenRepository.sonatypeSnapshots
      ).resolve(
        "org.cvogt" %% "play-json-extensions" % "0.8.0",
        "org.tpolecat" %% "tut-core" % "0.4.2",
        "ai.x" %% "lens" % "1.0.0-SNAPSHOT"
      )
    )
  )
}