1
- import ch .epfl .scala .sbtmissinglink .MissingLinkPlugin .autoImport ._
2
- import ch .epfl .scala .sbtmissinglink .MissingLinkPlugin .missinglinkConflictsTag
3
1
import com .typesafe .sbt .site .SitePlugin .autoImport ._
4
2
import mdoc .MdocPlugin .autoImport ._
5
3
import microsites .CdnDirectives
@@ -38,7 +36,7 @@ object BuildSettings {
38
36
Dependencies .scalaTest % Test
39
37
),
40
38
semanticdbEnabled := true ,
41
- semanticdbVersion := " 4.4.30 " , // scalafixSemanticdb.revision,
39
+ semanticdbVersion := scalafixSemanticdb.revision,
42
40
ThisBuild / scalafixDependencies ++= Seq (
43
41
Dependencies .scalafixScaluzzi,
44
42
Dependencies .scalafixOrganizeImports
@@ -47,21 +45,6 @@ object BuildSettings {
47
45
" -Ywarn-unused" // necessary for Scalafix RemoveUnused rule (not present in sbt-tpolecat for 2.13)
48
46
) ++ (if (scalaVersion.value.startsWith(" 2.13" )) List (" -Wmacros:after" ) else List .empty),
49
47
Compile / doc / scalacOptions -= " -Xfatal-warnings" ,
50
- missinglinkExcludedDependencies ++= List (
51
- moduleFilter(organization = " ch.qos.logback" ),
52
- moduleFilter(organization = " com.datastax.oss" , name = " java-driver-core" ),
53
- moduleFilter(organization = " com.zaxxer" , name = " HikariCP" ),
54
- moduleFilter(organization = " io.lettuce" ),
55
- moduleFilter(organization = " io.micrometer" ),
56
- moduleFilter(organization = " io.netty" ),
57
- moduleFilter(organization = " io.projectreactor" , name = " reactor-core" ),
58
- moduleFilter(organization = " io.sentry" , name = " sentry" ),
59
- moduleFilter(organization = " org.apache.kafka" , name = " kafka-clients" ),
60
- moduleFilter(organization = " org.codehaus.groovy" , name = " groovy" ),
61
- moduleFilter(organization = " org.flywaydb" , name = " flyway-core" ),
62
- moduleFilter(organization = " org.slf4j" , name = " slf4j-api" )
63
- ),
64
- concurrentRestrictions += Tags .limit(missinglinkConflictsTag, 2 ), // limit missing-link to limit heap consumption
65
48
javacOptions ++= Seq (" -source" , " 1.8" , " -target" , " 1.8" ),
66
49
Test / publishArtifact := false
67
50
)
0 commit comments