File tree Expand file tree Collapse file tree 8 files changed +82
-0
lines changed
main/scala/com/lightbend/paradox/unidoc
test/scala/com.lightbend.paradox/unidoc Expand file tree Collapse file tree 8 files changed +82
-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
+ language : scala
2
+ jdk : oraclejdk8
3
+ scala : 2.12.4
4
+ script : sbt test
5
+
6
+ cache :
7
+ directories :
8
+ - $HOME/.ivy2/cache
9
+ - $HOME/.sbt
10
+
11
+ before_cache :
12
+ - find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
13
+ - find $HOME/.sbt -name "*.lock" -print -delete
14
+
15
+ notifications :
16
+ email :
17
+ on_success : never
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
+ .settings(
6
+ sbtPlugin := true ,
7
+ organization := " com.lightbend.paradox" ,
8
+ name := " sbt-paradox-unidoc" ,
9
+ addSbtPlugin(Library .sbtParadox),
10
+ libraryDependencies ++= Seq (
11
+ Library .fastClassPathScanner,
12
+ Library .jtidy % Test ,
13
+ Library .scalatest % Test
14
+ )
15
+ )
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
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 : Plugins = ParadoxPlugin
13
+
14
+ override def trigger : PluginTrigger = 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
+ }
You can’t perform that action at this time.
0 commit comments