Skip to content
Snippets Groups Projects
Commit 831518aa authored by Will Billingsley's avatar Will Billingsley
Browse files

Upgrade to Scala 2.13

parent b579517c
No related branches found
No related tags found
No related merge requests found
lazy val root = (project in file(".")).
settings(
name := "future promise actor",
name := "cosc250assignment3",
version := "1.0",
scalaVersion := "2.12.6"
scalaVersion := "2.13.1"
)
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.5.3",
"com.typesafe.play" %% "play-ahc-ws-standalone" % "2.0.0-M1",
"com.typesafe.play" %% "play-json" % "2.6.9",
"org.scalactic" %% "scalactic" % "3.0.5",
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
"com.typesafe.akka" %% "akka-actor" % "2.6.5",
"com.typesafe.akka" %% "akka-stream" % "2.6.5",
"com.typesafe.play" %% "play-json" % "2.8.1",
"org.scalactic" %% "scalactic" % "3.1.1",
"org.scalatest" %% "scalatest" % "3.1.1" % "test"
)
sbt.version=0.13.11
sbt.version=1.3.8
......@@ -73,7 +73,7 @@ class GameUI(gameState: => GameState, commands: => Map[String, Set[Command]]) {
frame.add(commandsPanel, BorderLayout.WEST)
frame.add(startButton, BorderLayout.SOUTH)
frame.setSize(1024, 768)
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE)
frame.setVisible(true)
/** Called by the game actor to request the game panel be repainted */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment