From 8d0a751501dc579d7faf98ecb9ee397a5a7400a6 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 13 Jul 2022 13:18:52 +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 087e5e43f0aaa99493ad4d4c96e2c0af816d41f3 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 13 Jul 2022 13:18:52 +0000 Subject: [PATCH 2/2] Update sbt to 1.7.1 --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 0837f7a..22af262 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.3.13 +sbt.version=1.7.1