blob: d07e58e7f373f251f9151e16ef1743f8b65090fb (
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
|
import cbt._
// cbt:https://github.com/cvogt/cbt.git#bf4ea112fe668fb7e2e95a2baca4989b16384783
class Build(val context: Context) extends BaseBuild with PackageJars{
def groupId = "cbt.test"
def defaultVersion = "0.1"
def name = "library-test"
override def dependencies =
super.dependencies ++ // don't forget super.dependencies here for scala-library, etc.
Seq(
// source dependency
// DirectoryDependency( projectDirectory ++ "/subProject" )
) ++
// pick resolvers explicitly for individual dependencies (and their transitive dependencies)
Resolver( mavenCentral, sonatypeReleases ).bind(
// CBT-style Scala dependencies
// ScalaDependency( "com.lihaoyi", "ammonite-ops", "0.5.5" )
// MavenDependency( "com.lihaoyi", "ammonite-ops_2.11", "0.5.5" )
// SBT-style dependencies
// "com.lihaoyi" %% "ammonite-ops" % "0.5.5"
// "com.lihaoyi" % "ammonite-ops_2.11" % "0.5.5"
)
}
|