Skip to content

Commit

Permalink
0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Aug 26, 2018
1 parent 9857748 commit 9a72859
Show file tree
Hide file tree
Showing 22 changed files with 44 additions and 44 deletions.
4 changes: 2 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ object cask extends ScalaModule with PublishModule {
def testFrameworks = Seq("utest.runner.Framework")
def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
ivy"org.xerial:sqlite-jdbc:3.18.0",
ivy"io.getquill::quill-jdbc:2.5.4"
)
}
}
object example extends Module{
trait LocalModule extends ScalaModule{
def ivyDeps = super.ivyDeps().filter(_ != ivy"com.lihaoyi::cask:0.1.1")
def ivyDeps = super.ivyDeps().filter(_ != ivy"com.lihaoyi::cask:0.1.9")

override def millSourcePath = super.millSourcePath / "app"
def moduleDeps = Seq(cask)
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/1 - Cask: a Scala HTTP micro-framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ via the following coordinates:
```scala
// Mill
ivy"com.lihaoyi::cask:0.1.3"
ivy"com.lihaoyi::cask:0.1.9"
// SBT
"com.lihaoyi" %% "cask" % "0.1.3"
"com.lihaoyi" %% "cask" % "0.1.9"
```
The `./cask` command is just a wrapper around the
Expand Down
4 changes: 2 additions & 2 deletions example/compress/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/compress2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/compress3/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/cookies/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/decorated/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/decorated2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/endpoints/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/formJsonPost/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/httpMethods/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/minimalApplication/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/minimalApplication2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/redirectAbort/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/scalatags/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
ivy"com.lihaoyi::scalatags:0.6.7",
)

Expand All @@ -13,7 +13,7 @@ trait AppModule extends ScalaModule{

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/staticFiles/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

def forkWorkingDir = build.millSourcePath
Expand All @@ -14,7 +14,7 @@ trait AppModule extends ScalaModule{

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)

def forkWorkingDir = build.millSourcePath
Expand Down
4 changes: 2 additions & 2 deletions example/todo/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
ivy"org.xerial:sqlite-jdbc:3.18.0",
ivy"io.getquill::quill-jdbc:2.5.4",
ivy"com.lihaoyi::scalatags:0.6.7",
Expand All @@ -15,7 +15,7 @@ trait AppModule extends ScalaModule{

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/todoApi/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/todoDb/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
ivy"org.xerial:sqlite-jdbc:3.18.0",
ivy"io.getquill::quill-jdbc:2.5.4"
)
Expand All @@ -14,7 +14,7 @@ trait AppModule extends ScalaModule{

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/twirl/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ trait AppModule extends ScalaModule with mill.twirllib.TwirlModule{

def generatedSources = T{ Seq(compileTwirl().classes) }
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
ivy"com.lihaoyi::scalatags:0.6.7",
ivy"com.typesafe.play::twirl-api:${twirlVersion()}",
)
Expand All @@ -17,7 +17,7 @@ trait AppModule extends ScalaModule with mill.twirllib.TwirlModule{

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
4 changes: 2 additions & 2 deletions example/variableRoutes/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.1",
ivy"com.lihaoyi::cask:0.1.9",
)

object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.6.3",
ivy"com.lihaoyi::requests::0.1.8",
ivy"com.lihaoyi::requests::0.1.5",
)
}
}
Loading

0 comments on commit 9a72859

Please sign in to comment.