Commit 1605270
authored
Fix javadoc missing generated API (#200)
Move Dokka configuration to the `jvm-library` plugin, which is applied
before `test-suites`, and stop passing a fixed source root for Dokka so
that generated API source set is included. Also fix some configuration
avoidance smells.
When refactoring build logic into plugins, Dokka stopped recognizing the
correct source set. #199 fixed this by passing a specific source root to
Dokka, but this caused the resulting javadoc to not include the
generated API. Bisecting shows that moving the test suite setup
(456f769), making test suites be set up
before Dokka, was when the issue started.1 parent 20a64fd commit 1605270
File tree
6 files changed
+58
-54
lines changed- build-logic
- src/main/kotlin/com/gabrielfeo
- library
6 files changed
+58
-54
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 17 | | |
53 | 18 | | |
54 | 19 | | |
55 | 20 | | |
56 | 21 | | |
57 | 22 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 23 | | |
63 | 24 | | |
64 | 25 | | |
| |||
94 | 55 | | |
95 | 56 | | |
96 | 57 | | |
| 58 | + | |
97 | 59 | | |
98 | 60 | | |
99 | 61 | | |
| |||
110 | 72 | | |
111 | 73 | | |
112 | 74 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
117 | 79 | | |
118 | 80 | | |
119 | 81 | | |
120 | 82 | | |
121 | 83 | | |
122 | | - | |
| 84 | + | |
123 | 85 | | |
124 | 86 | | |
125 | 87 | | |
126 | 88 | | |
127 | 89 | | |
128 | | - | |
| 90 | + | |
129 | 91 | | |
130 | 92 | | |
131 | 93 | | |
132 | 94 | | |
133 | | - | |
| 95 | + | |
134 | 96 | | |
135 | 97 | | |
136 | 98 | | |
| |||
165 | 127 | | |
166 | 128 | | |
167 | 129 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
172 | 134 | | |
173 | 135 | | |
174 | 136 | | |
| |||
0 commit comments