From 276abeac8864a4e89b5f0bef7bc8f6499f9ae13b Mon Sep 17 00:00:00 2001 From: Yoshimura Yuu Date: Sun, 30 Jul 2023 15:09:21 +0900 Subject: [PATCH] Update sbt --- build.sbt | 12 ++++++------ project/build.properties | 2 +- sbt | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build.sbt b/build.sbt index a9cbb90..973b576 100644 --- a/build.sbt +++ b/build.sbt @@ -38,7 +38,7 @@ lazy val featherweightGo = (crossProject(JVMPlatform, JSPlatform).crossType(Cros ) .jsSettings( scalacOptions += { - val a = (baseDirectory in LocalRootProject).value.toURI.toString + val a = (LocalRootProject / baseDirectory).value.toURI.toString val g = "https://raw.githubusercontent.com/y-yu/featherweight_go/" + tagOrHash.value s"-P:scalajs:mapSourceURI:$a->$g/" } @@ -72,13 +72,13 @@ lazy val featherweightGoJS = featherweightGo.js lazy val publishSettings = Seq( publishMavenStyle := true, - publishTo := Some( + publishTo := ( if (isSnapshot.value) - Opts.resolver.sonatypeSnapshots + Opts.resolver.sonatypeOssSnapshots.headOption else - Opts.resolver.sonatypeStaging + Some(Opts.resolver.sonatypeStaging) ), - publishArtifact in Test := false, + Test / publishArtifact := false, pomExtra := @@ -113,7 +113,7 @@ lazy val publishSettings = Seq( ) val tagName = Def.setting { - s"v${if (releaseUseGlobalVersion.value) (version in ThisBuild).value else version.value}" + s"v${if (releaseUseGlobalVersion.value) (ThisBuild / version).value else version.value}" } val tagOrHash = Def.setting { diff --git a/project/build.properties b/project/build.properties index dbae93b..52413ab 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.4.9 +sbt.version=1.9.3 diff --git a/sbt b/sbt index 41eb81e..629896f 100755 --- a/sbt +++ b/sbt @@ -34,11 +34,11 @@ set -o pipefail -declare -r sbt_release_version="1.9.0" -declare -r sbt_unreleased_version="1.9.0" +declare -r sbt_release_version="1.9.3" +declare -r sbt_unreleased_version="1.9.3" -declare -r latest_213="2.13.10" -declare -r latest_212="2.12.17" +declare -r latest_213="2.13.11" +declare -r latest_212="2.12.18" declare -r latest_211="2.11.12" declare -r latest_210="2.10.7" declare -r latest_29="2.9.3"