-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move silencer library from ThisBuild to project settings
- Loading branch information
Showing
2 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,24 +23,6 @@ inThisBuild( | |
scmInfo := Some( | ||
ScmInfo(url("https://github.com/zio/interop-cats/"), "scm:git:[email protected]:zio/interop-cats.git") | ||
), | ||
// FIXME | ||
// Adding silencer dependency as a workaround for DottyDoc error on Scala 3.2.2, error was: | ||
// [error] -- Error: core/shared/src/main/scala/zio/stm/ZTRef.scala:529:4 ----------------- | ||
// [error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class ghik)),object silencer),silent),<init>) at readTasty | ||
// Arising from linking to [[zio.stm.ZTRef.UnifiedSyntax#modify]] method which has a silencer | ||
// annotation on it. | ||
libraryDependencies ++= { | ||
if (scalaVersion.value.startsWith("3")) | ||
Seq( | ||
"com.github.ghik" % s"silencer-lib_$Scala213" % SilencerVersion % Provided | ||
) | ||
else | ||
Seq( | ||
"com.github.ghik" % "silencer-lib" % SilencerVersion % Provided cross CrossVersion.full, | ||
compilerPlugin("com.github.ghik" % "silencer-plugin" % SilencerVersion cross CrossVersion.full) | ||
) | ||
} | ||
// | ||
) | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters