aboutsummaryrefslogtreecommitdiff
path: root/test/simple
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple')
-rw-r--r--test/simple/build/build.scala15
1 files changed, 9 insertions, 6 deletions
diff --git a/test/simple/build/build.scala b/test/simple/build/build.scala
index 5782c2d..f54c3dc 100644
--- a/test/simple/build/build.scala
+++ b/test/simple/build/build.scala
@@ -7,8 +7,9 @@ class Build(context: cbt.Context) extends BasicBuild(context){
super.dependencies
++
Seq(
- GitDependency("https://github.com/xdotai/diff.git", "666bbbf4dbff6fadc81c011ade7b83e91d3f9256"),
- MavenRepository.central.resolve(
+ GitDependency("https://github.com/xdotai/diff.git", "698717469b8dd86e8570b86354892be9c0654caf"),
+ // FIXME: make the below less verbose
+ MavenResolver(context.cbtHasChanged,context.paths.mavenCache,MavenResolver.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
@@ -21,10 +22,12 @@ class Build(context: cbt.Context) extends BasicBuild(context){
// 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
+ MavenResolver(
+ context.cbtHasChanged,
+ context.paths.mavenCache,
+ MavenResolver.central,
+ MavenResolver.bintray("tpolecat"),
+ MavenResolver.sonatypeSnapshots
).resolve(
"org.cvogt" %% "play-json-extensions" % "0.8.0",
"org.tpolecat" %% "tut-core" % "0.4.2",