mirror of https://github.com/sbt/sbt.git
Merge pull request #30 from dwijnand/bump-sbt-houserules-for-mima
Bump sbt-houserules to add MiMa
This commit is contained in:
commit
e35e8f9fff
|
|
@ -1,5 +1,6 @@
|
||||||
import Dependencies._
|
import Dependencies._
|
||||||
import Util._
|
import Util._
|
||||||
|
import com.typesafe.tools.mima.core._, ProblemFilters._
|
||||||
|
|
||||||
def baseVersion: String = "0.1.0-M8"
|
def baseVersion: String = "0.1.0-M8"
|
||||||
def internalPath = file("internal")
|
def internalPath = file("internal")
|
||||||
|
|
@ -28,6 +29,7 @@ def commonSettings: Seq[Setting[_]] = Seq(
|
||||||
"-Ywarn-dead-code",
|
"-Ywarn-dead-code",
|
||||||
"-Ywarn-numeric-widen",
|
"-Ywarn-numeric-widen",
|
||||||
"-Ywarn-value-discard"),
|
"-Ywarn-value-discard"),
|
||||||
|
previousArtifact := None, // Some(organization.value %% moduleName.value % "1.0.0"),
|
||||||
publishArtifact in Compile := true,
|
publishArtifact in Compile := true,
|
||||||
publishArtifact in Test := true
|
publishArtifact in Test := true
|
||||||
)
|
)
|
||||||
|
|
@ -78,7 +80,9 @@ lazy val utilCollection = (project in internalPath / "util-collection").
|
||||||
settings(
|
settings(
|
||||||
commonSettings,
|
commonSettings,
|
||||||
Util.keywordsSettings,
|
Util.keywordsSettings,
|
||||||
name := "Util Collection"
|
name := "Util Collection",
|
||||||
|
scalacOptions --= // scalac 2.10 rejects some HK types under -Xfuture it seems..
|
||||||
|
(CrossVersion partialVersion scalaVersion.value collect { case (2, 10) => "-Xfuture" }).toList
|
||||||
)
|
)
|
||||||
|
|
||||||
lazy val utilApplyMacro = (project in internalPath / "util-appmacro").
|
lazy val utilApplyMacro = (project in internalPath / "util-appmacro").
|
||||||
|
|
|
||||||
0
internal/util-collection/src/main/scala/sbt/internal/util/Positions.scala
Executable file → Normal file
0
internal/util-collection/src/main/scala/sbt/internal/util/Positions.scala
Executable file → Normal file
|
|
@ -1 +1 @@
|
||||||
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.2.1")
|
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.1")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue