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

Configure default documentedVisibilities for perPackageOptions #3799

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

adam-enko
Copy link
Member

@adam-enko adam-enko commented Sep 12, 2024

Set DokkaPackageOptionsSpec.documentedVisibilities convention value to Public.

This matches the existing behaviour in DGPv1

@Input
val documentedVisibilities: SetProperty<DokkaConfiguration.Visibility> =
project.objects.setProperty<DokkaConfiguration.Visibility>()
.convention(DokkaDefaults.documentedVisibilities)

Fix KT-70872

@adam-enko adam-enko added the runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin label Sep 12, 2024
@adam-enko adam-enko force-pushed the adam/feat/KT-70336/per-package-options-defaults branch from c6626b2 to 44b70b0 Compare September 18, 2024 08:17
@adam-enko adam-enko changed the title Inherit defaults for perPackageOptions {} from the DokkaSourceSet Configure default documentedVisibilities for perPackageOptions Sep 18, 2024
@adam-enko adam-enko marked this pull request as ready for review September 18, 2024 08:20
@adam-enko adam-enko merged commit 6cc31b0 into master Sep 18, 2024
14 checks passed
@adam-enko adam-enko deleted the adam/feat/KT-70336/per-package-options-defaults branch September 18, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants