Skip to content

Commit 790f55a

Browse files
authored
Merge pull request #2978 from tgodzik/update-sbt2
chore: Update sbt 2 to final release
2 parents d3fed80 + f0e9dcd commit 790f55a

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
shell: bash
4747
- name: Sbt 2
4848
run: |
49-
sbt "++3.7.3 sbtBloop/scripted \
49+
sbt "++3.8.4 sbtBloop/scripted \
5050
sbt-bloop/wartremover \
5151
sbt-bloop/stale-projects \
5252
sbt-bloop/sbt-plugin-build \

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ lazy val sbtBloop: Project = project
314314
name := "sbt-bloop",
315315
pluginCrossBuild / sbtVersion := (scalaBinaryVersion.value match {
316316
case "2.12" => SbtVersion
317-
case _ => "2.0.0-RC8"
317+
case _ => "2.0.0"
318318
}),
319319
crossScalaVersions := List(Scala212Version, Scala3Version),
320320
scalaVersion := Dependencies.Scala212Version,

integrations/sbt-bloop/src/main/scala/bloop/integrations/sbt/SbtBloop.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@ object BloopKeys {
7070
settingKey[Option[Set[String]]](
7171
"The classifiers that will be exported with `updateClassifiers`"
7272
)
73+
@transient
7374
val bloopProductDirectories: TaskKey[Seq[File]] =
7475
taskKey[Seq[File]]("Bloop product directories")
7576
val bloopClassDirectory: SettingKey[File] =
7677
settingKey[File]("Directory where to write the class files")
7778
val bloopTargetDir: SettingKey[File] =
7879
settingKey[File]("Target directory for the pertinent project and configuration")
80+
@transient
7981
val bloopInternalClasspath: TaskKey[Seq[(File, File)]] =
8082
taskKey[Seq[(File, File)]]("Directory where to write the class files")
8183
val bloopInstall: TaskKey[Unit] =
@@ -101,6 +103,7 @@ object BloopKeys {
101103
settingKey[Seq[Configuration]](
102104
"The sequence of configurations that are used to detect inter-project dependencies by bloop."
103105
)
106+
@transient
104107
val bloopExtraExportedJars: TaskKey[Seq[File]] =
105108
taskKey[Seq[File]](
106109
"Jar files from internal dependencies whose exportedProducts differ from productDirectories"
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % sys.props.apply("plugin.version"))
22

3-
addSbtPlugin("org.wartremover" % "sbt-wartremover" % "3.4.3")
3+
val wartremoverVersion =
4+
if (sys.props.get("scalaVersion").exists(_.startsWith("2.12"))) "3.4.3"
5+
else "3.5.8"
6+
7+
addSbtPlugin("org.wartremover" % "sbt-wartremover" % wartremoverVersion)

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ object Dependencies {
88
val Scala211Version = "2.11.12"
99
val Scala212Version = "2.12.21"
1010
val Scala213Version = "2.13.18"
11-
val Scala3Version = "3.7.4"
11+
val Scala3Version = "3.8.4"
1212

1313
val SbtVersion = "1.9.0"
1414

0 commit comments

Comments
 (0)