Commit 5ec252b
committed
fix(jvm): stop shipping the natives twice, and actually release Kotlin
Two separate problems, both visible from Maven Central.
The sources JAR was 50.70 MB against 0.18 MB of actual Java source.
`maven-source-plugin:jar-no-fork` sweeps `src/main/resources`, and the
release job stages the five platform JNI libraries there before
packaging — so every release uploaded 123 MB of binaries twice, once in
the fat JAR where they belong and once in a "sources" JAR that an IDE
opens to read `.java`. `excludeResources` ends that; nothing else lives
under `src/main/resources`, which is empty in git. Measured locally with
a staged native present: 3.1 MB fat JAR unchanged and still carrying it,
sources JAR 83 KB with zero native entries.
`fyi.oxide:pdf-oxide-kotlin` has never existed on Central. The publish
job has run and reported success since v0.3.69, but `automaticRelease =
false` leaves the deployment VALIDATED in the Portal for someone to
release by hand, and nobody ever has. Java has published automatically
since v0.3.56 and Scala does through sbt-ci-release; Kotlin was the one
JVM artifact still waiting on a click that never came. It now matches
them.
The workflow's own text claimed Java staged too — a leftover from before
v0.3.56 that had every reader believing a manual step was pending when
`waitUntil=published` already blocks until the version is live. Step
names and notices now say what the jobs do.
Claude-Session: https://claude.ai/code/session_01GpmgN5Mc14eRa1w4NCJrTy
Signed-off-by: Yury Fedoseev <yfedoseev@gmail.com>1 parent 214e2fa commit 5ec252b
3 files changed
Lines changed: 38 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
| 705 | + | |
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
| 744 | + | |
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
756 | 756 | | |
757 | 757 | | |
758 | | - | |
| 758 | + | |
759 | 759 | | |
760 | | - | |
761 | | - | |
| 760 | + | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| |||
2045 | 2045 | | |
2046 | 2046 | | |
2047 | 2047 | | |
2048 | | - | |
| 2048 | + | |
2049 | 2049 | | |
2050 | 2050 | | |
2051 | 2051 | | |
| |||
2068 | 2068 | | |
2069 | 2069 | | |
2070 | 2070 | | |
2071 | | - | |
| 2071 | + | |
2072 | 2072 | | |
2073 | 2073 | | |
2074 | 2074 | | |
| |||
2077 | 2077 | | |
2078 | 2078 | | |
2079 | 2079 | | |
2080 | | - | |
| 2080 | + | |
2081 | 2081 | | |
2082 | | - | |
2083 | | - | |
| 2082 | + | |
| 2083 | + | |
2084 | 2084 | | |
2085 | 2085 | | |
2086 | 2086 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
260 | 273 | | |
261 | 274 | | |
262 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
69 | | - | |
| 76 | + | |
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| |||
0 commit comments