diff --git a/build.sbt b/build.sbt index 9cc00f7..ae5cb87 100644 --- a/build.sbt +++ b/build.sbt @@ -6,7 +6,7 @@ description:= "Monitors your elastic search cluster and reports metrics to cloud version := "1.0" -scalaVersion := "3.1.3" +scalaVersion := "3.3.0" val awsSdkVersion = "1.12.501" @@ -17,14 +17,15 @@ scalacOptions ++= Seq( libraryDependencies ++= Seq( "com.amazonaws" % "aws-lambda-java-core" % "1.2.2", - "org.slf4j" % "slf4j-simple" % "1.7.36", - "com.squareup.okhttp3" % "okhttp" % "3.14.9", + "org.slf4j" % "slf4j-simple" % "2.0.7", + "com.squareup.okhttp3" % "okhttp" % "4.11.0", "com.amazonaws" % "aws-java-sdk-cloudwatch" % awsSdkVersion, "com.amazonaws" % "aws-java-sdk-ec2" % awsSdkVersion, - "com.fasterxml.jackson.core" % "jackson-databind" % "2.14.3", + "com.fasterxml.jackson.core" % "jackson-databind" % "2.15.2", ) assembly / assemblyMergeStrategy := { + case PathList("META-INF", _*) => MergeStrategy.discard case x if x.endsWith("module-info.class") => MergeStrategy.first case y => val oldStrategy = (assembly / assemblyMergeStrategy).value diff --git a/project/build.properties b/project/build.properties index e64c208..3c0b78a 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.5.8 +sbt.version=1.9.1 diff --git a/project/plugins.sbt b/project/plugins.sbt index b4cb7fc..ed95ffb 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,3 @@ -addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10") +addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0") addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3")