We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a86a83 commit f156f42Copy full SHA for f156f42
sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala
@@ -181,6 +181,11 @@ object DottyPlugin extends AutoPlugin {
181
if (!VersionNumber(sbtV).matchesSemVer(SemanticSelector(requiredVersion)))
182
sys.error(s"The sbt-dotty plugin cannot work with this version of sbt ($sbtV), sbt $requiredVersion is required.")
183
184
+ val deprecatedVersion = ">=1.5.0-RC2"
185
+ val logger = sLog.value
186
+ if (VersionNumber(sbtV).matchesSemVer(SemanticSelector(deprecatedVersion)))
187
+ logger.warn(s"The sbt-dotty plugin is no longer neeeded with sbt >= 1.5, please remove it from your build.")
188
+
189
state
190
}
191
)
0 commit comments