Anyone noticing an increase in 429 errors when pub...
# library-development
e
Anyone noticing an increase in 429 errors when publishing SNAPSHOT versions of KMP libraries?
đŸ‘Œ 1
h
Yeah, that’s why I disabled uploading snapshots to maven central.
m
Yes. Have had to add
--no-parallel
to get around it. e.g. (Using
gradle-maven-publish-plugin
)
Copy code
./gradlew clean && ./gradlew build --no-build-cache && ./gradlew publishAllPublicationsToMavenCentralRepository --no-parallel --no-daemon
e
I'll give that a shot, thanks
m
How's that working out for you @eygraber? For me, publishing a SNAPSHOT of project with 5 submodules supporting all KMP targets takes about 1.25 hours đŸ˜† EDIT: If anyone knows a better way than
--no-parallel
, I'm all ears.
e
It seems to be working, and looks like it takes about as long as it did with parallel (~8 minutes). Are you using klib cross compilation to keep the whole build on a single host?
m
My setup is weird, lol. My System76 laptop (Linux) is my primary which I do most everything on. I have a MacMini which I ssh into and publish from.