From a05bf2179c10c592c94ea23ff00135b094759800 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 23 Feb 2024 23:41:03 +0000 Subject: [PATCH 1/2] Applied Scalafix rule(s) https://gist.githubusercontent.com/eed3si9n/57e83f5330592d968ce49f0d5030d4d5/raw/7f576f16a90e432baa49911c9a66204c354947bb/Sbt0_13BuildSyntax.scala See https://eed3si9n.com/syntactic-scalafix-rule-for-unified-slash-syntax for details --- build.sbt | 8 ++++---- version.sbt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sbt b/build.sbt index 6f9c463..afb73c9 100644 --- a/build.sbt +++ b/build.sbt @@ -32,16 +32,16 @@ lazy val root = project.in(file(".")) ), buildInfoKeys := Seq(name, version, scalaVersion, sbtVersion), buildInfoPackage := "com.github.scala2ts", - test in assembly := {}, - assemblyOption in assembly := - (assemblyOption in assembly).value.copy(includeScala = false), + (assembly / test) := {}, + (assembly / assemblyOption) := + ((assembly / assemblyOption)).value.copy(includeScala = false), /** * There's some classpath particularities when executing compiler plugins * so we need to make a fatjar * @see https://www.scala-lang.org/old/node/6664.html * @see https://github.com/sbt/sbt/issues/2255 */ - packageBin in Compile := (assembly in Compile).value, + (Compile / packageBin) := ((Compile / assembly)).value, releaseCrossBuild := true, releaseProcess := Seq[ReleaseStep]( checkSnapshotDependencies, diff --git a/version.sbt b/version.sbt index 918f99a..3160eaf 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "1.1.4-SNAPSHOT" +(ThisBuild / version) := "1.1.4-SNAPSHOT" From 5b346ec6946aed9df3e1d9cbb7fbc94cab19101c Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 23 Feb 2024 23:41:03 +0000 Subject: [PATCH 2/2] Update sbt to 1.9.9 --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 302b6be..f2f1347 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version = 1.3.13 \ No newline at end of file +sbt.version = 1.9.9 \ No newline at end of file