File tree Expand file tree Collapse file tree 5 files changed +18
-18
lines changed
src/main/scala/com/lightbend/paradox/apidoc Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ name: Continuous Integration
9
9
10
10
on :
11
11
pull_request :
12
- branches : [master ]
12
+ branches : [main ]
13
13
push :
14
- branches : [master ]
14
+ branches : [main ]
15
15
tags : [v*]
16
16
17
17
env :
@@ -24,20 +24,20 @@ jobs:
24
24
matrix :
25
25
os : [ubuntu-latest]
26
26
scala : [2.12.17]
27
- java : [temurin@8 ]
27
+ java : [temurin@11 ]
28
28
runs-on : ${{ matrix.os }}
29
29
steps :
30
30
- name : Checkout current branch (full)
31
31
uses : actions/checkout@v2
32
32
with :
33
33
fetch-depth : 0
34
34
35
- - name : Setup Java (temurin@8 )
36
- if : matrix.java == 'temurin@8 '
35
+ - name : Setup Java (temurin@11 )
36
+ if : matrix.java == 'temurin@11 '
37
37
uses : actions/setup-java@v2
38
38
with :
39
39
distribution : temurin
40
- java-version : 8
40
+ java-version : 11
41
41
42
42
- name : Cache sbt
43
43
uses : actions/cache@v2
@@ -74,20 +74,20 @@ jobs:
74
74
matrix :
75
75
os : [ubuntu-latest]
76
76
scala : [2.12.17]
77
- java : [temurin@8 ]
77
+ java : [temurin@11 ]
78
78
runs-on : ${{ matrix.os }}
79
79
steps :
80
80
- name : Checkout current branch (full)
81
81
uses : actions/checkout@v2
82
82
with :
83
83
fetch-depth : 0
84
84
85
- - name : Setup Java (temurin@8 )
86
- if : matrix.java == 'temurin@8 '
85
+ - name : Setup Java (temurin@11 )
86
+ if : matrix.java == 'temurin@11 '
87
87
uses : actions/setup-java@v2
88
88
with :
89
89
distribution : temurin
90
- java-version : 8
90
+ java-version : 11
91
91
92
92
- name : Cache sbt
93
93
uses : actions/cache@v2
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import scala.collection.JavaConverters._
3
3
ThisBuild / scalaVersion := " 2.12.17"
4
4
5
5
sbtPlugin := true
6
- crossSbtVersions := List (" 1.0.0 " )
6
+ crossSbtVersions := List (" 1.4.9 " )
7
7
organization := " com.lightbend.paradox"
8
8
name := " sbt-paradox-apidoc"
9
9
@@ -59,7 +59,7 @@ ThisBuild / pomIncludeRepository := (_ => false)
59
59
sonatypeProfileName := " com.lightbend"
60
60
61
61
ThisBuild / githubWorkflowJavaVersions := List (
62
- JavaSpec .temurin(" 8 " )
62
+ JavaSpec .temurin(" 11 " )
63
63
)
64
64
65
- ThisBuild / githubWorkflowTargetBranches := Seq (" master " )
65
+ ThisBuild / githubWorkflowTargetBranches := Seq (" main " )
Original file line number Diff line number Diff line change 1
1
import sbt ._
2
2
3
3
object Library {
4
- val classgraph = " io.github.classgraph" % " classgraph" % " 4.8.150 "
5
- val sbtParadox = " com.lightbend.paradox" % " sbt-paradox" % " 0.9.2 "
4
+ val classgraph = " io.github.classgraph" % " classgraph" % " 4.8.153 "
5
+ val sbtParadox = " com.lightbend.paradox" % " sbt-paradox" % " 0.10.3 "
6
6
val scalatest = " org.scalatest" %% " scalatest" % " 3.2.14"
7
- val paradoxTestkit = " com.lightbend.paradox" %% " testkit" % " 0.9.2 "
7
+ val paradoxTestkit = " com.lightbend.paradox" %% " testkit" % " 0.10.3 "
8
8
}
Original file line number Diff line number Diff line change 1
- sbt.version =1.5.7
1
+ sbt.version =1.7.3
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ object ApidocPlugin extends AutoPlugin {
49
49
paradoxDirectives ++= Def .taskDyn {
50
50
val classLoader = new java.net.URLClassLoader (apidocClasses.value.toArray, this .getClass.getClassLoader)
51
51
val scanner = new ClassGraph ()
52
- .whitelistPackages (apidocRootPackage.value)
52
+ .acceptPackages (apidocRootPackage.value)
53
53
.addClassLoader(classLoader)
54
54
.enableMethodInfo()
55
55
.scan()
You can’t perform that action at this time.
0 commit comments