Skip to content

Commit

Permalink
Update sbt to 1.10.7 and 2.0.0-M3
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones committed Jan 6, 2025
1 parent ea7d47d commit 6ee63ca
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.3.4, 2.12.20]
scala: [3.6.2, 2.12.20]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.3.4]
scala: [3.6.2]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -88,12 +88,12 @@ jobs:
- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Download target directories (3.3.4)
- name: Download target directories (3.6.2)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-3.3.4-${{ matrix.java }}
name: target-${{ matrix.os }}-3.6.2-${{ matrix.java }}

- name: Inflate target directories (3.3.4)
- name: Inflate target directories (3.6.2)
run: |
tar xf targets.tar
rm targets.tar
Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ThisBuild / developers := List(
)

// sbt-github-actions
lazy val scala3 = "3.3.4"
lazy val scala3 = "3.6.2"
lazy val scala212 = "2.12.20"
ThisBuild / scalaVersion := scala3
ThisBuild / crossScalaVersions := Seq(scala3, scala212)
Expand Down Expand Up @@ -106,13 +106,13 @@ lazy val `sbt-avro`: Project = project
(pluginCrossBuild / sbtVersion) := {
scalaBinaryVersion.value match {
case "2.12" => "1.5.0"
case _ => "2.0.0-M2"
case _ => "2.0.0-M3"
}
},
scriptedSbt := {
scalaBinaryVersion.value match {
case "2.12" => "1.10.3"
case _ => "2.0.0-M2"
case "2.12" => "1.10.7"
case _ => "2.0.0-M3"
}
},
buildInfoKeys := Seq[BuildInfoKey](name, version),
Expand Down
6 changes: 3 additions & 3 deletions plugin/src/main/scala/com/github/sbt/avro/SbtAvro.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ object SbtAvro extends AutoPlugin {
lazy val avroArtifactTasks: Seq[TaskKey[FileRef]] =
Seq(Compile, Test).map(conf => conf / packageAvro)

lazy val defaultSettings: Seq[Setting[_]] = Seq(
lazy val defaultSettings: Seq[Setting[?]] = Seq(
// compiler
avroCompiler := "com.github.sbt.avro.AvroCompilerBridge",
avroCreateSetters := true,
Expand All @@ -78,7 +78,7 @@ object SbtAvro extends AutoPlugin {
)

// settings to be applied for both Compile and Test
lazy val configScopedSettings: Seq[Setting[_]] = Seq(
lazy val configScopedSettings: Seq[Setting[?]] = Seq(
avroSource := sourceDirectory.value / "avro",
avroUnmanagedSourceDirectories := Seq(avroSource.value),
avroSpecificRecords := Seq.empty,
Expand Down Expand Up @@ -125,7 +125,7 @@ object SbtAvro extends AutoPlugin {

override def projectConfigurations: Seq[Configuration] = Seq(Avro)

override lazy val projectSettings: Seq[Setting[_]] = defaultSettings ++
override lazy val projectSettings: Seq[Setting[?]] = defaultSettings ++
inConfig(Avro)(Defaults.configSettings) ++
Seq(Compile, Test).flatMap(c => inConfig(c)(configScopedSettings))

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.10.6
sbt.version=1.10.7

0 comments on commit 6ee63ca

Please sign in to comment.