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

add source/javadoc options to configureBasedOnAppliedPlugins #767

Merged
merged 2 commits into from Apr 27, 2024

Conversation

gabrielittner
Copy link
Collaborator

Partially addresses #754. While this doesn't provide a way to configure whether sources and javadocs are published based on the target repository, this at least provides and easy way to disable publishing them globally. Before this you'd need to start calling configure in each project which you can't easily do globally in builds with mixed project types. configureBasedOnAppliedPlugins could be called from a plugins.withId block. It's then possible to use gradle properties or env vars for the boolean values. A follow up might be to have such Gradle properties already for the call from the main plugin.

@gabrielittner gabrielittner merged commit 8a950ab into main Apr 27, 2024
9 checks passed
@vanniktech vanniktech deleted the publish-option branch May 1, 2024 08:13
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.

None yet

2 participants