aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-06-14 22:15:52 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-06-15 01:24:46 -0400
commitee439cdc67034d35762d54a6d87d51844fcf6dde (patch)
treec6aa1a4663c63f13638b16f263105a6e72f2cf6e /README.md
parent8794d3ce0ca7f92df24c317c9a9b7025aa0e3dee (diff)
downloadcbt-ee439cdc67034d35762d54a6d87d51844fcf6dde.tar.gz
cbt-ee439cdc67034d35762d54a6d87d51844fcf6dde.tar.bz2
cbt-ee439cdc67034d35762d54a6d87d51844fcf6dde.zip
turn Build base classes into traits for less verbosity and uniform usage with any other plugin
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 94b52a8..73a0594 100644
--- a/README.md
+++ b/README.md
@@ -15,9 +15,9 @@ easy custom code. If you integrate something, consider
doing it as traits that you make available as a library that
other builds can depend on and mix in.
-Slides from CBT talk from NEScala 2016:
+Slides and video from CBT talk from NEScala 2016:
https://github.com/cvogt/talks/raw/master/2016-03-04_NEScala-2016_A-Vision-For-Scala-Builds.pdf
-(video coming soon...)
+https://www.youtube.com/watch?v=5HfKw3hgdOM
Getting started
---------------
@@ -44,13 +44,13 @@ that describes your build. Here is an example
```scala
// build/build.scala
import cbt._
-class Build(context: cbt.Context) extends PackageBuild(context){
- override def version = "0.6.1-SNAPSHOT"
+class Build(val context: cbt.Context) extends BaseBuild{
+ override def version = "0.6.1"
override def groupId = "org.cvogt"
override def artifactId = "play-json-extensions"
override def dependencies =
- super.dependencies :+
- resolver(mavenCentral).bind(
+ super.dependencies ++
+ Resolver(mavenCentral).bind(
// encouraged way to declare dependencies
ScalaDependency("com.typesafe.play", "play-json", "2.4.4"),
MavenDependency("joda-time", "joda-time", "2.9.2")