Commit 33c13e2
authored
Fixed release publishing failing to build the javadoc jar (#1024)
* Fixed release publishing failing to build the javadoc jar
AGP generates the published javadoc with Dokka 1.4.32, which cannot read the
sealed classes in livekit-uniffi-android and fails with "PermittedSubclasses
requires ASM9". Disabled AGP's javadoc generation and packaged the javadoc jar
from the project's Dokka 1.9.20 dokkaJavadoc task instead.
* Generated the javadoc into AGP's output directory instead of appending to the jar
Disabling AGP's javadoc generation left any output from an earlier build in
place, and the jar, which fails on duplicate files, then packaged it next to
the Dokka output. The generation task now syncs the Dokka output into its own
output directory, so the jar keeps its single input and stale files are
removed.1 parent 66288fc commit 33c13e2
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
116 | 137 | | |
117 | 138 | | |
118 | 139 | | |
| |||
0 commit comments