-
Notifications
You must be signed in to change notification settings - Fork 143
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
Error building the jar in Windows #123
Comments
Thanks, that fixed it for me too! |
QuintinWillison
pushed a commit
to ably/ably-java
that referenced
this issue
Feb 27, 2020
Based on this solution: NeuronRobotics/nrjavaserial#123 (comment) Though I don't (yet) understand why it's needed.
paddybyers
pushed a commit
to ably/ably-java
that referenced
this issue
Feb 28, 2020
Based on this solution: NeuronRobotics/nrjavaserial#123 (comment) Though I don't (yet) understand why it's needed.
Great fix, worked for me ass well. |
oopsie, this issue should never came up. That section is uesd for publishing to sonnotype. It makes reference to fields that exist in my secret credentials file, which is never comitted to git. I sym-link it into the build directory to publish. build.gradle should never have been pushed with that section uncommented. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had an error trying to build the jar in windows, googling a bit I found out that on line 121 and 125 of build.gradle there was an error with the variables ossrhUsername and ossrhPassword.
When I change the line
authentication(userName: ossrhUsername, password: ossrhPassword)
to
authentication(userName: hasProperty('ossrhUsername')?ossrhUsername:'', password: hasProperty('ossrhPassword')?ossrhPassword:'')
the build works well.
Maybe there was reported previously but I didn't find it...
Hope this helps.
The text was updated successfully, but these errors were encountered: