mirror of https://github.com/sbt/sbt.git
Upgrade semanticdb to newest version which supports Scala 2.12.14
This commit is contained in:
parent
3f7193f91a
commit
ee460e0043
|
|
@ -45,7 +45,7 @@ ThisBuild / scmInfo := Some(
|
|||
ThisBuild / resolvers += Resolver.mavenLocal
|
||||
|
||||
Global / semanticdbEnabled := !(Global / insideCI).value
|
||||
Global / semanticdbVersion := "4.4.10"
|
||||
Global / semanticdbVersion := "4.4.20"
|
||||
val excludeLint = SettingKey[Set[Def.KeyedInitialize[_]]]("excludeLintKeys")
|
||||
Global / excludeLint := (Global / excludeLint).?.value.getOrElse(Set.empty)
|
||||
Global / excludeLint += componentID
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ object SemanticdbPlugin extends AutoPlugin {
|
|||
semanticdbEnabled := SysProp.semanticdb,
|
||||
semanticdbIncludeInJar := false,
|
||||
semanticdbOptions := List(),
|
||||
semanticdbVersion := "4.4.10"
|
||||
semanticdbVersion := "4.4.20"
|
||||
)
|
||||
|
||||
override lazy val projectSettings: Seq[Def.Setting[_]] = Seq(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
ThisBuild / scalaVersion := "2.12.14"
|
||||
ThisBuild / semanticdbEnabled := true
|
||||
ThisBuild / semanticdbVersion := "4.4.10"
|
||||
ThisBuild / semanticdbVersion := "4.4.20"
|
||||
ThisBuild / semanticdbIncludeInJar := false
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
@ -8,7 +8,7 @@ lazy val root = (project in file("."))
|
|||
lazy val check = taskKey[Unit]("Checks the configured semanticdbVersion")
|
||||
|
||||
check := {
|
||||
val expected = Some("4.4.10")
|
||||
val expected = Some("4.4.20")
|
||||
val actual = allDependencies
|
||||
.value
|
||||
.find(_.name == "semanticdb-scalac")
|
||||
|
|
|
|||
Loading…
Reference in New Issue