[2.x] ci: Remove unnecessary code in build file (#9045)

This commit is contained in:
kenji yoshida 2026-04-09 12:58:39 +09:00 committed by GitHub
parent e292d05322
commit 7218b2a1ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 7 deletions

View File

@ -14,7 +14,6 @@ ThisBuild / version := {
val v = "2.0.0-RC9-bin-SNAPSHOT"
nightlyVersion.getOrElse(v)
}
ThisBuild / Utils.version2_13 := "2.0.0-SNAPSHOT"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / scalafmtOnCompile := !(Global / insideCI).value
ThisBuild / Test / scalafmtOnCompile := !(Global / insideCI).value
@ -798,10 +797,6 @@ lazy val sbtProj = (project in file("sbt-app"))
testedBaseSettings,
name := "sbt",
normalizedName := "sbt",
version := {
if (scalaVersion.value == baseScalaVersion) version.value
else Utils.version2_13.value
},
crossPaths := false,
crossTarget := { target.value / scalaVersion.value },
javaOptions ++= Seq("-Xdebug", "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"),

View File

@ -3,7 +3,6 @@ import Keys.*
object Dependencies {
// WARNING: Please Scala update versions in PluginCross.scala too
val scala213 = "2.13.16"
val scala3 = "3.8.3"
val scala212 = "2.12.21"
val baseScalaVersion = scala3

View File

@ -6,7 +6,6 @@ import scalafix.sbt.ScalafixPlugin.autoImport.scalafix
import sbt.internal.inc.Analysis
object Utils {
val version2_13 = settingKey[String]("version number")
val ExclusiveTest: Tags.Tag = Tags.Tag("exclusive-test")
val componentID: SettingKey[Option[String]] = settingKey[Option[String]]("")