diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-18 00:05:54 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-18 00:05:54 -0400 |
commit | cb37198374fa25e2ac1f46ccd6fe3ba98d79dd24 (patch) | |
tree | db2715a94ba7afe8876a29f4d14078f7b8bea3a1 /test | |
parent | f9ce0472aea0d6f646e8f7487f63ab8c4e42d22a (diff) | |
download | cbt-cb37198374fa25e2ac1f46ccd6fe3ba98d79dd24.tar.gz cbt-cb37198374fa25e2ac1f46ccd6fe3ba98d79dd24.tar.bz2 cbt-cb37198374fa25e2ac1f46ccd6fe3ba98d79dd24.zip |
Add support for git dependencies
pair coded with @chavxo
Diffstat (limited to 'test')
-rw-r--r-- | test/simple/Main.scala | 4 | ||||
-rw-r--r-- | test/simple/build/build.scala | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/simple/Main.scala b/test/simple/Main.scala new file mode 100644 index 0000000..43542ff --- /dev/null +++ b/test/simple/Main.scala @@ -0,0 +1,4 @@ +import ai.x.diff +object Main extends App{ + println(diff.DiffShow.diff("a","b")) +} diff --git a/test/simple/build/build.scala b/test/simple/build/build.scala index 37de2e4..f3efc19 100644 --- a/test/simple/build/build.scala +++ b/test/simple/build/build.scala @@ -5,7 +5,8 @@ class Build(context: cbt.Context) extends BasicBuild(context){ override def dependencies = Seq( ScalaDependency("com.typesafe.play", "play-json", "2.4.4"), JavaDependency("joda-time", "joda-time", "2.9.2"), + GitDependency("https://github.com/xdotai/diff.git", "2e275642041006ff39efde22da7742c2e9a0f63f"), // the below tests pom inheritance with dependencyManagement and variable substitution JavaDependency("org.eclipse.jgit", "org.eclipse.jgit", "4.2.0.201601211800-r") - ) ++ super.dependencies + ) ++ super.dependencies } |