mirror of https://github.com/sbt/sbt.git
delete buildinfo.BuildInfo from sbt main
sbt-buildinfo plugin have `buildInfoScopedSettings(Compile)` in default. I think it is unnecessary. or we should set "buildinfoPackage in Compile" and "buildinfoObject in Compile" https://github.com/sbt/sbt-buildinfo/blob/v0.7.0/src/main/scala/sbtbuildinfo/BuildInfoPlugin.scala#L11
This commit is contained in:
parent
f2f44c738c
commit
7ff88a3e51
|
|
@ -448,7 +448,6 @@ lazy val mainProj = (project in file("main"))
|
||||||
// with the sole purpose of providing certain identifiers without qualification (with a package object)
|
// with the sole purpose of providing certain identifiers without qualification (with a package object)
|
||||||
lazy val sbtProj = (project in file("sbt"))
|
lazy val sbtProj = (project in file("sbt"))
|
||||||
.dependsOn(mainProj, scriptedSbtProj % "test->test")
|
.dependsOn(mainProj, scriptedSbtProj % "test->test")
|
||||||
.enablePlugins(BuildInfoPlugin)
|
|
||||||
.settings(
|
.settings(
|
||||||
baseSettings,
|
baseSettings,
|
||||||
name := "sbt",
|
name := "sbt",
|
||||||
|
|
@ -459,6 +458,7 @@ lazy val sbtProj = (project in file("sbt"))
|
||||||
mimaSettings,
|
mimaSettings,
|
||||||
mimaBinaryIssueFilters ++= sbtIgnoredProblems,
|
mimaBinaryIssueFilters ++= sbtIgnoredProblems,
|
||||||
addBuildInfoToConfig(Test),
|
addBuildInfoToConfig(Test),
|
||||||
|
BuildInfoPlugin.buildInfoDefaultSettings,
|
||||||
buildInfoObject in Test := "TestBuildInfo",
|
buildInfoObject in Test := "TestBuildInfo",
|
||||||
buildInfoKeys in Test := Seq[BuildInfoKey](fullClasspath in Compile),
|
buildInfoKeys in Test := Seq[BuildInfoKey](fullClasspath in Compile),
|
||||||
connectInput in run in Test := true,
|
connectInput in run in Test := true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue