Skip to content

Commit

Permalink
fixup sbt versioning plugin deprecation notice and some minor breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg committed Apr 19, 2020
1 parent ac593fa commit 256ed68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ target/
} else {
interfaceLogger warn "Generating sbt plugin..."

val sbtProjectDir = targetFolder / s"sbt-${config.projectName}"
val sbtProjectDir = targetFolder / s"sbt-${config.projectName.value}"

GenerateSbtPlugin(
isDeprecated = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ object GenerateSbtPlugin {

val deprecationNotice =
if (isDeprecated)
"""@deprecated("The pre-built distribution you're using of ScalablyTyped is deprecated. Please see https://www.scalablytyped.org for the new sbt plugin")\n"""
"""
|@deprecated("The pre-built distribution you're using of ScalablyTyped is deprecated. Please see https://www.scalablytyped.org for the new sbt plugin", "2020-04-19")""".stripMargin
else ""

val pluginSource = s"""
Expand Down

0 comments on commit 256ed68

Please sign in to comment.