File tree Expand file tree Collapse file tree 7 files changed +69
-0
lines changed
main/scala/com/lightbend/paradox/unidoc
test/scala/com.lightbend.paradox/unidoc Expand file tree Collapse file tree 7 files changed +69
-0
lines changed Original file line number Diff line number Diff line change
1
+ .idea
2
+ target
Original file line number Diff line number Diff line change
1
+ scalaVersion := " 2.12.4"
2
+
3
+ lazy val root = project
4
+ .in(file(" ." ))
5
+ .aggregate(unidocPlugin)
6
+
7
+ lazy val unidocPlugin = project
8
+ .in(file(" plugin" ))
9
+ .settings(
10
+ sbtPlugin := true ,
11
+ organization := " com.lightbend.akka" ,
12
+ name := " sbt-paradox-unidoc" ,
13
+ addSbtPlugin(Library .sbtParadox),
14
+ libraryDependencies ++= Seq (
15
+ Library .fastClassPathScanner,
16
+ Library .jtidy % Test ,
17
+ Library .scalatest % Test
18
+ )
19
+ )
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
3
+ */
4
+
5
+ package com .lightbend .paradox .unidoc
6
+
7
+ import com .lightbend .paradox .sbt .ParadoxPlugin
8
+ import sbt ._
9
+
10
+ object UnidocPlugin extends AutoPlugin {
11
+
12
+ override def requires = ParadoxPlugin
13
+
14
+ override def trigger = noTrigger
15
+
16
+ override def projectSettings : Seq [Setting [_]] = unidocSettings(Compile )
17
+
18
+ def unidocParadoxGlobalSettings : Seq [Setting [_]] = Seq (
19
+ )
20
+
21
+ def unidocSettings (config : Configuration ): Seq [Setting [_]] = unidocParadoxGlobalSettings ++ inConfig(config)(Seq (
22
+ // scoped settings here
23
+ ))
24
+ }
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
3
+ */
4
+
5
+ package com .lightbend .paradox .unidoc
6
+
7
+ class UnidocPluginSpec {
8
+ }
Original file line number Diff line number Diff line change
1
+ import sbt ._
2
+
3
+ object Version {
4
+ val fastClassPathScanner = " 2.18.2"
5
+ val jtidy = " r938"
6
+ val sbtParadox = " 0.3.2"
7
+ val scalatest = " 3.0.3"
8
+ }
9
+
10
+ object Library {
11
+ val fastClassPathScanner = " io.github.lukehutch" % " fast-classpath-scanner" % Version .fastClassPathScanner
12
+ val jtidy = " net.sf.jtidy" % " jtidy" % Version .jtidy
13
+ val sbtParadox = " com.lightbend.paradox" % " sbt-paradox" % Version .sbtParadox
14
+ val scalatest = " org.scalatest" %% " scalatest" % Version .scalatest
15
+ }
Original file line number Diff line number Diff line change
1
+ sbt.version =1.1.4
You can’t perform that action at this time.
0 commit comments