mirror of https://github.com/sbt/sbt.git
Merge pull request #8167 from unkarjedy/1.11.x
fix: do not treat values "1.x" of "pluginCrossBuild/sbtBinaryVersion" as sbt 2 (fixes #8166)
This commit is contained in:
commit
f37aea07b2
|
|
@ -2996,7 +2996,7 @@ object Classpaths {
|
|||
private lazy val packagedDefaultArtifacts = packaged(defaultArtifactTasks)
|
||||
private lazy val sbt2Plus: Def.Initialize[Boolean] = Def.setting {
|
||||
val sbtV = (pluginCrossBuild / sbtBinaryVersion).value
|
||||
sbtV != "1.0" && !sbtV.startsWith("0.")
|
||||
!sbtV.startsWith("1.") && !sbtV.startsWith("0.")
|
||||
}
|
||||
val jvmPublishSettings: Seq[Setting[_]] = Seq(
|
||||
artifacts := artifactDefs(defaultArtifactTasks).value,
|
||||
|
|
|
|||
Loading…
Reference in New Issue