mirror of https://github.com/sbt/sbt.git
parent
6202015335
commit
afd5ff03f8
10
build.sbt
10
build.sbt
|
|
@ -1,6 +1,7 @@
|
|||
import Util._
|
||||
import Dependencies._
|
||||
import Sxr.sxr
|
||||
import com.typesafe.tools.mima.core._, ProblemFilters._
|
||||
|
||||
// ThisBuild settings take lower precedence,
|
||||
// but can be shared across the multi projects.
|
||||
|
|
@ -382,9 +383,18 @@ lazy val sbtProj = (project in file("sbt"))
|
|||
crossScalaVersions := Seq(baseScalaVersion),
|
||||
crossPaths := false,
|
||||
mimaSettings,
|
||||
mimaBinaryIssueFilters ++= sbtIgnoredProblems,
|
||||
)
|
||||
.configure(addSbtCompilerBridge)
|
||||
|
||||
lazy val sbtIgnoredProblems = {
|
||||
Seq(
|
||||
// Added more items to Import trait.
|
||||
exclude[ReversedMissingMethodProblem]("sbt.Import.sbt$Import$_setter_$WatchSource_="),
|
||||
exclude[ReversedMissingMethodProblem]("sbt.Import.WatchSource")
|
||||
)
|
||||
}
|
||||
|
||||
def scriptedTask: Def.Initialize[InputTask[Unit]] = Def.inputTask {
|
||||
val result = scriptedSource(dir => (s: State) => Scripted.scriptedParser(dir)).parsed
|
||||
// publishLocalBinAll.value // TODO: Restore scripted needing only binary jars.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ object Dependencies {
|
|||
val baseScalaVersion = scala212
|
||||
|
||||
// sbt modules
|
||||
private val ioVersion = "1.0.0"
|
||||
private val ioVersion = "1.0.1"
|
||||
private val utilVersion = "1.0.1"
|
||||
private val lmVersion = "1.0.0"
|
||||
private val zincVersion = "1.0.0"
|
||||
|
|
|
|||
|
|
@ -50,6 +50,8 @@ trait Import {
|
|||
type RichFile = sbt.io.RichFile
|
||||
type SimpleFileFilter = sbt.io.SimpleFileFilter
|
||||
type SimpleFilter = sbt.io.SimpleFilter
|
||||
type WatchSource = sbt.internal.io.Source
|
||||
val WatchSource = sbt.internal.io.Source
|
||||
|
||||
// sbt.util
|
||||
type AbstractLogger = sbt.util.AbstractLogger
|
||||
|
|
|
|||
Loading…
Reference in New Issue