-
Notifications
You must be signed in to change notification settings - Fork 6
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
ci: updating nexus publish plugin version #26
Conversation
lib/shared/common/build.gradle.kts
Outdated
username.set(ossrhUsername) | ||
password.set(ossrhPassword) | ||
} | ||
sonatype {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to use findProperty to get the username/password here. Which allowed it to be undefined in development and populated for releases. Does some other magic make that not required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my local testing, commands of this form work.
./gradlew <task> -PsonatypeUsername=<username> -PsonatypePassword=<password>
And this is what the publish script uses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It also works when they are of form:
./gradlew <task>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be resolved based on slack discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Realized some CI failed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test packaging needs to disable signing?
Updating nexus plugin