Skip to content

Commit

Permalink
Upgrade to Scala 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jodersky committed May 15, 2021
1 parent 329b520 commit 7705c2b
Show file tree
Hide file tree
Showing 26 changed files with 56 additions and 56 deletions.
14 changes: 7 additions & 7 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import $file.example.websockets3.build
import $file.example.websockets4.build

val scala213 = "2.13.5"
val scala3 = "3.0.0-RC3"
val scala3 = "3.0.0"
val dottyCustomVersion = Option(sys.props("dottyVersion"))

trait CaskModule extends CrossScalaModule with PublishModule{
Expand All @@ -51,7 +51,7 @@ class CaskMainModule(val crossScalaVersion: String) extends CaskModule {
def ivyDeps = T{
Agg(
ivy"io.undertow:undertow-core:2.2.3.Final",
ivy"com.lihaoyi::upickle:1.3.12"
ivy"com.lihaoyi::upickle:1.3.13"
) ++
(if(!isDotty) Agg(ivy"org.scala-lang:scala-reflect:${scalaVersion()}") else Agg())
}
Expand All @@ -62,8 +62,8 @@ class CaskMainModule(val crossScalaVersion: String) extends CaskModule {
object test extends Tests{
def testFrameworks = Seq("utest.runner.Framework")
def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8"
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9"
)
}
def moduleDeps = Seq(cask.util.jvm(crossScalaVersion))
Expand All @@ -81,9 +81,9 @@ object cask extends Cross[CaskMainModule]((Seq(scala213, scala3) ++ dottyCustomV
millSourcePath / s"src-$platformSegment"
)
def ivyDeps = Agg(
ivy"com.lihaoyi::sourcecode:0.2.6",
ivy"com.lihaoyi::pprint:0.6.5",
ivy"com.lihaoyi::geny:0.6.9"
ivy"com.lihaoyi::sourcecode:0.2.7",
ivy"com.lihaoyi::pprint:0.6.6",
ivy"com.lihaoyi::geny:0.6.10"
)
}
class UtilJvmModule(val crossScalaVersion: String) extends UtilModule {
Expand Down
4 changes: 2 additions & 2 deletions example/compress/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/compress2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/compress3/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/cookies/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/decorated/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/decorated2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/endpoints/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/formJsonPost/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8"
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9"
)
}
}
4 changes: 2 additions & 2 deletions example/httpMethods/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/minimalApplication/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/minimalApplication2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/redirectAbort/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/scalatags/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/staticFiles/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)

def forkWorkingDir = build.millSourcePath
Expand Down
4 changes: 2 additions & 2 deletions example/staticFiles2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)

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 @@ -13,8 +13,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/todoApi/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/todoDb/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/twirl/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ trait AppModule extends CrossScalaModule with mill.twirllib.TwirlModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/variableRoutes/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
)
}
}
4 changes: 2 additions & 2 deletions example/websockets/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
ivy"org.asynchttpclient:async-http-client:2.5.2"
)
}
Expand Down
4 changes: 2 additions & 2 deletions example/websockets2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
ivy"org.asynchttpclient:async-http-client:2.5.2"
)
}
Expand Down
4 changes: 2 additions & 2 deletions example/websockets3/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
ivy"org.asynchttpclient:async-http-client:2.5.2"
)
}
Expand Down
4 changes: 2 additions & 2 deletions example/websockets4/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ trait AppModule extends CrossScalaModule{
def testFrameworks = Seq("utest.runner.Framework")

def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.9",
ivy"com.lihaoyi::requests::0.6.8",
ivy"com.lihaoyi::utest::0.7.10",
ivy"com.lihaoyi::requests::0.6.9",
ivy"org.asynchttpclient:async-http-client:2.5.2"
)
}
Expand Down
2 changes: 1 addition & 1 deletion mill
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This is a wrapper script, that automatically download mill from GitHub release pages
# You can give the required mill version with MILL_VERSION env variable
# If no version is given, it falls back to the value of DEFAULT_MILL_VERSION
DEFAULT_MILL_VERSION=0.9.5-48-4ad87f
DEFAULT_MILL_VERSION=0.9.7


set -e
Expand Down

0 comments on commit 7705c2b

Please sign in to comment.