Skip to content

Commit 3856003

Browse files
scala-stewardraboofignasi35
authored
Update sbt-paradox to 0.8.0 (#147)
* Update sbt-paradox to 0.8.0 * Use MarkdownTestkit * scalafmt Co-authored-by: Arnout Engelen <arnout@bzzt.net> Co-authored-by: Ignasi Marimon-Clos <ignasi@lightbend.com>
1 parent dd412fe commit 3856003

File tree

4 files changed

+11
-176
lines changed

4 files changed

+11
-176
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ name := "sbt-paradox-apidoc"
1010
addSbtPlugin(Library.sbtParadox)
1111
libraryDependencies ++= Seq(
1212
Library.classgraph,
13-
Library.jtidy % Test,
14-
Library.scalatest % Test
13+
Library.scalatest % Test,
14+
Library.paradoxTestkit % Test
1515
)
1616

1717
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0"))

project/Dependencies.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import sbt._
22

33
object Library {
4-
val classgraph = "io.github.classgraph" % "classgraph" % "4.8.77"
5-
val jtidy = "net.sf.jtidy" % "jtidy" % "r938"
6-
val sbtParadox = "com.lightbend.paradox" % "sbt-paradox" % "0.6.9"
7-
val scalatest = "org.scalatest" %% "scalatest" % "3.1.1"
4+
val classgraph = "io.github.classgraph" % "classgraph" % "4.8.77"
5+
val sbtParadox = "com.lightbend.paradox" % "sbt-paradox" % "0.8.0"
6+
val scalatest = "org.scalatest" %% "scalatest" % "3.1.1"
7+
val paradoxTestkit = "com.lightbend.paradox" %% "testkit" % "0.8.0"
88
}

src/test/scala/com/lightbend/paradox/apidoc/ApidocDirectiveSpec.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ package com.lightbend.paradox.apidoc
1919
import java.io.IOException
2020

2121
import com.lightbend.paradox.ParadoxException
22-
import com.lightbend.paradox.markdown.Writer
22+
import com.lightbend.paradox.markdown.{MarkdownTestkit, Writer}
2323

24-
class ApidocDirectiveSpec extends MarkdownBaseSpec {
24+
import org.scalatest.matchers.should.Matchers
25+
import org.scalatest.flatspec.AnyFlatSpecLike
26+
27+
class ApidocDirectiveSpec extends MarkdownTestkit with Matchers with AnyFlatSpecLike {
2528
val rootPackage = "akka"
2629

2730
val allClasses = Array(

src/test/scala/com/lightbend/paradox/apidoc/MarkdownBaseSpec.scala

Lines changed: 0 additions & 168 deletions
This file was deleted.

0 commit comments

Comments
 (0)