diff options
author | rockjam <5min4eq.unity@gmail.com> | 2016-06-23 20:44:40 +0300 |
---|---|---|
committer | rockjam <5min4eq.unity@gmail.com> | 2016-06-24 07:27:36 +0300 |
commit | 314df6dd5627a55f7e368f6fd62c0ad85922607a (patch) | |
tree | 422501c56b05b02b9b6729726417ef204da23ef7 /examples/uber-jar-example/build | |
parent | fd6c08a1fe03fee7ccb87200bf4ff4b717d42864 (diff) | |
download | cbt-314df6dd5627a55f7e368f6fd62c0ad85922607a.tar.gz cbt-314df6dd5627a55f7e368f6fd62c0ad85922607a.tar.bz2 cbt-314df6dd5627a55f7e368f6fd62c0ad85922607a.zip |
uber-jar plugin implementation
Diffstat (limited to 'examples/uber-jar-example/build')
-rw-r--r-- | examples/uber-jar-example/build/build.scala | 16 | ||||
-rw-r--r-- | examples/uber-jar-example/build/build/build.scala | 5 |
2 files changed, 21 insertions, 0 deletions
diff --git a/examples/uber-jar-example/build/build.scala b/examples/uber-jar-example/build/build.scala new file mode 100644 index 0000000..fca7737 --- /dev/null +++ b/examples/uber-jar-example/build/build.scala @@ -0,0 +1,16 @@ +import cbt._ + +class Build(val context: Context) extends BuildBuild with UberJar { + + override def projectName: String = "uber-jar-example" + + override def dependencies = super.dependencies ++ + Resolver( mavenCentral ).bind( + ScalaDependency("com.chuusai", "shapeless", "2.3.1"), + ScalaDependency("com.lihaoyi", "fansi", "0.1.3"), + ScalaDependency("org.typelevel", "cats", "0.6.0") + ) + + override def uberJarName = projectName + "-0.0.1" + +} diff --git a/examples/uber-jar-example/build/build/build.scala b/examples/uber-jar-example/build/build/build.scala new file mode 100644 index 0000000..2938ffd --- /dev/null +++ b/examples/uber-jar-example/build/build/build.scala @@ -0,0 +1,5 @@ +import cbt._ + +class Build(val context: Context) extends BuildBuild { + override def dependencies = super.dependencies :+ plugins.uberJar +} |