mirror of https://github.com/sbt/sbt.git
Fix MiMa
This commit is contained in:
parent
8afadce715
commit
0ef5b578f8
|
|
@ -765,6 +765,7 @@ lazy val mainProj = (project in file("main"))
|
|||
exclude[DirectMissingMethodProblem]("sbt.plugins.SbtPlugin.requires"),
|
||||
exclude[DirectMissingMethodProblem]("sbt.ResolvedClasspathDependency.apply"),
|
||||
exclude[DirectMissingMethodProblem]("sbt.ClasspathDependency.apply"),
|
||||
exclude[IncompatibleSignatureProblem]("sbt.plugins.SemanticdbPlugin.globalSettings"),
|
||||
|
||||
// File -> Source
|
||||
exclude[DirectMissingMethodProblem]("sbt.Defaults.cleanFilesTask"),
|
||||
|
|
|
|||
|
|
@ -17,14 +17,14 @@ object SemanticdbPlugin extends AutoPlugin {
|
|||
override def requires = JvmPlugin
|
||||
override def trigger = allRequirements
|
||||
|
||||
override lazy val globalSettings = Seq(
|
||||
override lazy val globalSettings: Seq[Def.Setting[_]] = Seq(
|
||||
semanticdbEnabled := false,
|
||||
semanticdbIncludeInJar := false,
|
||||
semanticdbOptions := List("-Yrangepos"),
|
||||
semanticdbVersion := "4.1.0"
|
||||
)
|
||||
|
||||
override lazy val projectSettings = Seq(
|
||||
override lazy val projectSettings: Seq[Def.Setting[_]] = Seq(
|
||||
semanticdbCompilerPlugin := {
|
||||
val v = semanticdbVersion.value
|
||||
("org.scalameta" % "semanticdb-scalac" % v).cross(CrossVersion.full)
|
||||
|
|
|
|||
Loading…
Reference in New Issue