From 7b6e92422d4a4be21a2e9bc79f75be840c40f125 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Thu, 5 Jan 2023 13:41:13 +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 | 4 ++-- secret.sbt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 45dec13..eaea33c 100644 --- a/build.sbt +++ b/build.sbt @@ -14,14 +14,14 @@ * limitations under the License. */ -lazy val fastring = crossProject in file(".") +lazy val fastring = (file(".") / crossProject) lazy val fastringJS = fastring.js lazy val fastringJVM = fastring.jvm lazy val benchmark = project.dependsOn(fastringJVM) -organization in ThisBuild := "com.dongxiguo" +(ThisBuild / organization) := "com.dongxiguo" publish / skip := true diff --git a/secret.sbt b/secret.sbt index f3db5e8..a3a2222 100644 --- a/secret.sbt +++ b/secret.sbt @@ -1,6 +1,6 @@ lazy val secret = { for (gist <- sys.env.get("SECRET_GIST")) yield { - val secret = project.settings(publish / skip := true).in { + val secret = ({ val secretDirectory = file(sourcecode.File()).getParentFile / "secret" IO.delete(secretDirectory) org.eclipse.jgit.api.Git @@ -10,7 +10,7 @@ lazy val secret = { .call() .close() secretDirectory - } + } / project.settings(publish / skip := true)) secret } }.getOrElse(null) From fc1b03d62f727968b1717712844b83c481ec68e9 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Thu, 5 Jan 2023 13:41:13 +0000 Subject: [PATCH 2/2] Update sbt to 1.8.2 --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 0837f7a..46e43a9 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.3.13 +sbt.version=1.8.2