mirror of https://github.com/sbt/sbt.git
[2.x] fix sjson downgrade
This commit is contained in:
parent
3b36560a8c
commit
d038ca92f3
|
|
@ -3624,7 +3624,8 @@ object Classpaths {
|
|||
o %% "librarymanagement-ivy",
|
||||
o %% "util-logging",
|
||||
o %% "util-position",
|
||||
o %% "io"
|
||||
o %% "io",
|
||||
"com.eed3si9n" %% "sjson-new-core"
|
||||
)
|
||||
if (isMeta && !force) excludes.toVector ++ sbtModulesExcludes
|
||||
else excludes
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
ThisBuild / scalaVersion := "3.8.4"
|
||||
ThisBuild / organization := "com.example"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import sbt.*
|
||||
import sbt.Keys.*
|
||||
|
||||
object Example {
|
||||
lazy val settings = Seq(javaOptions += "-Dfoo=bar")
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
addSbtPlugin("ch.epfl.scala" % "sbt-github-dependency-submission" % "3.2.3")
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
# Issue 8207: a metabuild plugin must not downgrade sjson-new core.
|
||||
# Loading this build exercises the metabuild compile, which summons
|
||||
# the JsonFormat for String via the caching macro on javaOptions.
|
||||
# When the plugin downgrades sjson-new core on the metabuild
|
||||
# classpath, project load fails with a missing given. A successful
|
||||
# load is the regression assertion.
|
||||
> projects
|
||||
Loading…
Reference in New Issue