Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a publishing-related config-cache disabler #3577

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

IgnatBeresnev
Copy link
Member

(continuation from #3562 (comment))

This PR drops the workaround for disabling configuration cache during publishing. There were proposals to replace it with MavenPublishLimiter, but it looks like it's not needed for now? We'll be publishing to Maven Central with DOKKA_MVN_CENTRAL_REPOSITORY_ID, and Gradle Plugin Portal and Space seem to handle parallelization well


I'm definitely missing some lazy verifications around publishing in Gradle :) It'd be nice to check that DOKKA_MVN_CENTRAL_REPOSITORY_ID is set and not blank when publishing to Maven Central, then we would be able to drop https://oss.sonatype.org/service/local/staging/deploy/maven2/ completely. But since the configuration is resolved during build time, it doesn't seem like there's an easy way to do it? Not a huge deal at all, just something that I think would be nice to have to enforce the publishing rules

@IgnatBeresnev IgnatBeresnev merged commit a807ae3 into master Apr 25, 2024
12 checks passed
@IgnatBeresnev IgnatBeresnev deleted the remove-config-cache-disabler branch April 25, 2024 10:41
@IgnatBeresnev IgnatBeresnev modified the milestone: Dokka 2.0.0 Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants