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

Align mavenCentralUsername and mavenCentralPassword configuration with other project properties #867

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lnhrdt
Copy link

@lnhrdt lnhrdt commented Nov 6, 2024

Retains provider syntax while enabling mavenCentralUsername and mavenCentralPassword to be configured through a broader range of project properties, consistent with other properties in this plugin (e.g. SONATYPE_HOST).

My use case involves providing values decrypted in a Gradle task after the configuration phase, which is not currently feasible with standard Gradle properties. I believe this change would also benefit other scenarios, such as loading values from a unique properties file and other CI-centric configurations.

This PR may overlap with #824, but I believe my approach adds more general utility by allowing values to be set after the configuration phase and brings consistency to the way properties are configured across the plugin.

I attempted to run the tests using ./gradlew check, but many failed in my development environment. However, I was able to confirm that the same tests passed and failed consistently before and after my changes.

…urable project properties

Retains provider syntax while enabling mavenCentralUsername and mavenCentralPassword to be configured through a broader range of project properties, consistent with other properties in this plugin (e.g. SONATYPE_HOST).
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.

1 participant