-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies & switch to Scala 3 sources (#40)
* Update sbt to 1.10.0 * Update sbt plugins * Update dependencies * Update scalafmt * Use Scala 3 source
- Loading branch information
1 parent
ad8c30d
commit b9c9455
Showing
7 changed files
with
23 additions
and
24 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version = 3.6.1 | ||
version = 3.8.2 | ||
runner.dialect = scala212source3 | ||
|
||
maxColumn = 120 | ||
|
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name := "sbt-dependency-lock" | ||
organization := "software.purpledragon" | ||
|
||
enablePlugins(SbtPlugin, ParadoxSitePlugin, GhpagesPlugin) | ||
enablePlugins(SbtPlugin, SitePreviewPlugin, ParadoxSitePlugin, GhpagesPlugin) | ||
|
||
val circeVersion = "0.14.3" | ||
val circeVersion = "0.14.9" | ||
|
||
libraryDependencies ++= Seq( | ||
"io.circe" %% "circe-core", | ||
|
@@ -13,19 +13,19 @@ libraryDependencies ++= Seq( | |
|
||
libraryDependencies ++= Seq( | ||
"software.purpledragon" %% "text-utils" % "1.3.1", | ||
"org.scalatest" %% "scalatest" % "3.2.14" % Test, | ||
"org.scalatest" %% "scalatest" % "3.2.19" % Test, | ||
) | ||
|
||
organizationName := "Michael Stringer" | ||
startYear := Some(2019) | ||
licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt")) | ||
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.txt")) | ||
|
||
scriptedLaunchOpts := { | ||
scriptedLaunchOpts.value ++ | ||
Seq("-Xmx1024M", "-Dplugin.version=" + version.value) | ||
} | ||
|
||
ThisBuild / scapegoatVersion := "2.1.0" | ||
ThisBuild / scapegoatVersion := "2.1.6" | ||
|
||
developers := List( | ||
Developer("stringbean", "Michael Stringer", "@the_stringbean", url("https://github.com/stringbean")), | ||
|
@@ -39,7 +39,7 @@ scmInfo := Some( | |
git.remoteRepo := "[email protected]:stringbean/sbt-dependency-lock.git" | ||
publishTo := sonatypePublishToBundle.value | ||
|
||
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._ | ||
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations.* | ||
|
||
releasePublishArtifactsAction := PgpKeys.publishSigned.value | ||
|
||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.8.0 | ||
sbt.version=1.10.0 |
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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
// publishing | ||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") | ||
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.13") | ||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1") | ||
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.11.0") | ||
|
||
// code style | ||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.7.0") | ||
addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.1.1") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") | ||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") | ||
addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.2.4") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") | ||
|
||
// documentation | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1") | ||
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.10.2") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3") | ||
addSbtPlugin("com.github.sbt" % "sbt-site-paradox" % "1.5.0") | ||
addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.8.0") |
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
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
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