Skip to content

Commit 698023e

Browse files
committed
update to sbt-2.0.0-RC3
use `@transient` annotation introduced in sbt/sbt#8210
1 parent afebf8f commit 698023e

File tree

4 files changed

+2
-22
lines changed

4 files changed

+2
-22
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ libraryDependencies ++= Seq(
2424
(pluginCrossBuild / sbtVersion) := {
2525
scalaBinaryVersion.value match {
2626
case "2.12" => "1.5.8"
27-
case _ => "2.0.0-RC2"
27+
case _ => "2.0.0-RC3"
2828
}
2929
}
3030

src/main/scala-2.12/PluginCompat.scala

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/main/scala-3/PluginCompat.scala

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/main/scala/com/github/sbt/git/GitPlugin.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package com.github.sbt.git
22

33
import sbt.*
44
import Keys.*
5-
import PluginCompat.*
65

76
/** This plugin has all the basic 'git' functionality for other plugins. */
87
object SbtGit {
@@ -22,7 +21,7 @@ object SbtGit {
2221
val gitUncommittedChanges = SettingKey[Boolean]("git-uncommitted-changes", "Whether there are uncommitted changes.")
2322

2423
// A Mechanism to run Git directly.
25-
@cacheLevel(include = Array.empty)
24+
@transient
2625
val gitRunner = TaskKey[GitRunner]("git-runner", "The mechanism used to run git in the current build.")
2726

2827
// Keys associated with setting a version number.

0 commit comments

Comments
 (0)