From a42d3883f110831440f2d85977e9251c4a22541a Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 8 Aug 2023 12:05:28 +0100 Subject: Updated dependencies and scalafmt --- .scalafmt.conf | 15 ++++++++++++++- build.sc | 8 ++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index dd18323..efea3b4 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1 +1,14 @@ -version = 2.5.2 +version = 3.7.12 +runner.dialect = scala213 + +align.preset = some +maxColumn = 120 +newlines.beforeCurlyLambdaParams = multilineWithCaseOnly + +rewrite.rules = [Imports] +rewrite.imports.sort = original +rewrite.imports.groups = [ + ["java\\..*", "javax\\..*"], + ["scala\\..*"], + ["net\\.usebox\\..*"] +] diff --git a/build.sc b/build.sc index f819435..59dfe2f 100644 --- a/build.sc +++ b/build.sc @@ -8,7 +8,7 @@ import $ivy.`com.lihaoyi::mill-contrib-buildinfo:$MILL_VERSION` import mill.contrib.buildinfo.BuildInfo object server extends ScalaModule with ScalafmtModule with BuildInfo { - def scalaVersion = "2.13.10" + def scalaVersion = "2.13.11" def scalacOptions = Seq( @@ -25,11 +25,11 @@ object server extends ScalaModule with ScalafmtModule with BuildInfo { def ivyDeps = Agg( - ivy"ch.qos.logback:logback-classic:1.4.7", + ivy"ch.qos.logback:logback-classic:1.4.9", ivy"com.github.pureconfig::pureconfig:0.17.4", ivy"com.github.scopt::scopt:4.1.0", - ivy"com.typesafe.akka::akka-stream:2.6.20", - ivy"org.bouncycastle:bcprov-jdk15to18:1.73", + ivy"com.typesafe.akka::akka-stream:2.8.3", + ivy"org.bouncycastle:bcprov-jdk15to18:1.76", ivy"org.log4s::log4s:1.10.0" ) -- cgit v1.2.3