okhttp
okhttp copied to clipboard
Update snapshot and release publishing after gradle 7 upgrade
Need to use similar approach to okio, replacing uploadArchives with publish. Currently blocked on signing key.
See okio for modern config https://github.com/square/okio/blob/079c09ea4c5b7dea947596debc478efd26d36922/buildSrc/src/main/kotlin/okio-publishing.gradle.kts
I think we can upgrade Dokka 1.5.0 with this change.
I'm not sure these are related, think they can land separately.
Previous exploration which was blocked at the time, hopefully we can crib the config from similar square projects
https://github.com/square/okhttp/issues/6450 https://github.com/Kotlin/dokka/issues/1592 (fixed) https://github.com/square/okhttp/pull/6342
I've converted all gradle files to kts but root build.gradle, hopefullly to convert it after this.
May we should refer to kotlinpoet (with latest gradle-maven-publish-plugin and Dokka), which I think it's better than okio.
@Goooler whats the current best advice for this? You seem to have a clearer idea than I do.
It seems like publishing to mavenLocal is ok.

@yschimke Should we add github cache actions on CI? See https://github.com/actions/cache