mirror of https://github.com/sbt/sbt.git
Merge pull request #7226 from eed3si9n/wip/bump
This commit is contained in:
commit
48cacd312e
|
|
@ -8,11 +8,14 @@
|
||||||
package sbt
|
package sbt
|
||||||
package plugins
|
package plugins
|
||||||
|
|
||||||
|
import scala.annotation.nowarn
|
||||||
|
|
||||||
object DependencyTreePlugin extends AutoPlugin {
|
object DependencyTreePlugin extends AutoPlugin {
|
||||||
object autoImport extends DependencyTreeKeys
|
object autoImport extends DependencyTreeKeys
|
||||||
override def trigger = AllRequirements
|
override def trigger = AllRequirements
|
||||||
override def requires = MiniDependencyTreePlugin
|
override def requires = MiniDependencyTreePlugin
|
||||||
|
|
||||||
|
@nowarn
|
||||||
val configurations = Vector(Compile, Test, IntegrationTest, Runtime, Provided, Optional)
|
val configurations = Vector(Compile, Test, IntegrationTest, Runtime, Provided, Optional)
|
||||||
|
|
||||||
// MiniDependencyTreePlugin provides baseBasicReportingSettings for Compile and Test
|
// MiniDependencyTreePlugin provides baseBasicReportingSettings for Compile and Test
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@ object BuildSettingsInstances {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@nowarn
|
||||||
implicit def arbConfigKey: Arbitrary[ConfigKey] = Arbitrary {
|
implicit def arbConfigKey: Arbitrary[ConfigKey] = Arbitrary {
|
||||||
Gen.frequency(
|
Gen.frequency(
|
||||||
2 -> const[ConfigKey](Compile),
|
2 -> const[ConfigKey](Compile),
|
||||||
|
|
|
||||||
|
|
@ -2602,6 +2602,7 @@ object Defaults extends BuildCommon {
|
||||||
|
|
||||||
lazy val testSettings: Seq[Setting[_]] = configSettings ++ testTasks
|
lazy val testSettings: Seq[Setting[_]] = configSettings ++ testTasks
|
||||||
|
|
||||||
|
@nowarn
|
||||||
lazy val itSettings: Seq[Setting[_]] = inConfig(IntegrationTest) {
|
lazy val itSettings: Seq[Setting[_]] = inConfig(IntegrationTest) {
|
||||||
testSettings
|
testSettings
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ import sbt.Project.inConfig
|
||||||
import sbt.internal._
|
import sbt.internal._
|
||||||
import sbt.io.syntax._
|
import sbt.io.syntax._
|
||||||
import sbt.librarymanagement.Configurations.{ IntegrationTest, Test }
|
import sbt.librarymanagement.Configurations.{ IntegrationTest, Test }
|
||||||
|
import scala.annotation.nowarn
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An experimental plugin that adds the ability for junit-xml to be generated.
|
* An experimental plugin that adds the ability for junit-xml to be generated.
|
||||||
|
|
@ -50,6 +51,7 @@ object JUnitXmlReportPlugin extends AutoPlugin {
|
||||||
|
|
||||||
import autoImport._
|
import autoImport._
|
||||||
|
|
||||||
|
@nowarn
|
||||||
override lazy val projectSettings: Seq[Setting[_]] =
|
override lazy val projectSettings: Seq[Setting[_]] =
|
||||||
inConfig(Test)(testReportSettings) ++
|
inConfig(Test)(testReportSettings) ++
|
||||||
inConfig(IntegrationTest)(testReportSettings)
|
inConfig(IntegrationTest)(testReportSettings)
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,10 @@ object Dependencies {
|
||||||
sys.env.get("BUILD_VERSION") orElse sys.props.get("sbt.build.version")
|
sys.env.get("BUILD_VERSION") orElse sys.props.get("sbt.build.version")
|
||||||
|
|
||||||
// sbt modules
|
// sbt modules
|
||||||
private val ioVersion = nightlyVersion.getOrElse("1.8.0")
|
private val ioVersion = nightlyVersion.getOrElse("1.9.0-M1")
|
||||||
private val lmVersion =
|
private val lmVersion =
|
||||||
sys.props.get("sbt.build.lm.version").orElse(nightlyVersion).getOrElse("1.9.0-M1")
|
sys.props.get("sbt.build.lm.version").orElse(nightlyVersion).getOrElse("1.9.0-M2")
|
||||||
val zincVersion = nightlyVersion.getOrElse("1.8.0")
|
val zincVersion = nightlyVersion.getOrElse("1.9.0-M2")
|
||||||
|
|
||||||
private val sbtIO = "org.scala-sbt" %% "io" % ioVersion
|
private val sbtIO = "org.scala-sbt" %% "io" % ioVersion
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue