From d0b8946df7d7c3fe7e4d31b74cbdf6cf05e7ad20 Mon Sep 17 00:00:00 2001 From: davidrpugh Date: Wed, 4 Oct 2017 15:38:56 +0300 Subject: [PATCH 1/4] Updated version numbers --- build.sbt | 4 ++-- project/build.properties | 2 +- project/plugins.sbt | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.sbt b/build.sbt index faf6c4d..724325b 100644 --- a/build.sbt +++ b/build.sbt @@ -8,8 +8,8 @@ lazy val commonSettings = Seq( organizationHomepage := Some(url("https://economicsl.github.io/")), libraryDependencies ++= Seq( "org.scalactic" %% "scalactic" % "3.0.1", - "com.typesafe.akka" %% "akka-actor" % "2.5.2", - "com.typesafe.play" %% "play-json" % "2.6.0-RC2", + "com.typesafe.akka" %% "akka-actor" % "2.5.6", + "com.typesafe.play" %% "play-json" % "2.6.3", "org.economicsl" %% "esl-core" % "0.1.0-SNAPSHOT" ), resolvers ++= Seq( diff --git a/project/build.properties b/project/build.properties index 6be4958..826c0bd 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version = 0.13.15 \ No newline at end of file +sbt.version = 0.13.16 \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt index 711cda9..f481378 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,9 +3,9 @@ logLevel := Level.Warn // Code coverage plugins... resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/" -addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.0") -addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.8") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1") +addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.10") // Publishing plugins -addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1") -addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0") \ No newline at end of file +addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0") +addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0-M1") \ No newline at end of file From 229ef3c1c060164484defd9637b5b3629721dd71 Mon Sep 17 00:00:00 2001 From: davidrpugh Date: Wed, 4 Oct 2017 16:15:25 +0300 Subject: [PATCH 2/4] Version bump in test.' --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 724325b..1a33e35 100644 --- a/build.sbt +++ b/build.sbt @@ -44,7 +44,7 @@ lazy val core = (project in file(".")). settings( libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "3.0.1" % "functional, test", - "com.typesafe.akka" %% "akka-testkit" % "2.5.2" % "functional, test" + "com.typesafe.akka" %% "akka-testkit" % "2.5.6" % "functional, test" ), parallelExecution in Functional := true ) From a1c55913e291287569610a211bcaa54e9fc922e3 Mon Sep 17 00:00:00 2001 From: davidrpugh Date: Wed, 4 Oct 2017 16:21:07 +0300 Subject: [PATCH 3/4] removed unused imports --- .../auctions/actors/schedules/OrderIssuingSchedule.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/scala/org/economicsl/auctions/actors/schedules/OrderIssuingSchedule.scala b/src/main/scala/org/economicsl/auctions/actors/schedules/OrderIssuingSchedule.scala index ee337e2..15183e9 100644 --- a/src/main/scala/org/economicsl/auctions/actors/schedules/OrderIssuingSchedule.scala +++ b/src/main/scala/org/economicsl/auctions/actors/schedules/OrderIssuingSchedule.scala @@ -21,8 +21,7 @@ import org.economicsl.auctions.{AuctionParticipant, AuctionProtocol} import org.economicsl.core.Tradable import scala.concurrent.ExecutionContext -import scala.concurrent.duration.{FiniteDuration, TimeUnit} -import scala.util.Random +import scala.concurrent.duration.FiniteDuration /** Mixin trait used to schedule the issuing of orders. */ From d25acc1a00c454658286d1cfe3e8dc64885e9744 Mon Sep 17 00:00:00 2001 From: davidrpugh Date: Wed, 4 Oct 2017 16:21:20 +0300 Subject: [PATCH 4/4] removed unnecessary compiler flags. --- build.sbt | 2 -- 1 file changed, 2 deletions(-) diff --git a/build.sbt b/build.sbt index 1a33e35..c223c16 100644 --- a/build.sbt +++ b/build.sbt @@ -22,8 +22,6 @@ lazy val commonSettings = Seq( scalacOptions ++= Seq( "-deprecation", // issue warning if we use any deprecated API features "-feature", // tells the compiler to provide information about misused language features - "-language:implicitConversions", // eliminates the need to import implicit conversions for each usage - "-language:reflectiveCalls", // needed in order to enable structural (or duck) typing "-Xlint", "-Ywarn-unused-import", "-Ywarn-dead-code"