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

Java-quickstart guide have setup issues #1297

Closed
dqtran91 opened this issue Dec 5, 2023 · 2 comments
Closed

Java-quickstart guide have setup issues #1297

dqtran91 opened this issue Dec 5, 2023 · 2 comments

Comments

@dqtran91
Copy link

dqtran91 commented Dec 5, 2023

Issue building on Windows 11.

./gradlew build gives Could not find method compile() for arguments because compile is no longer supported for Gradle 7.4.2 and up. Using implementation will fix this.

The DateTimeTest.java also uses an incorrect BigDecimal attribute BigDecimal .TWO which gives an error while building.

@JPercival
Copy link
Contributor

Hi @dqtran91! Give this PR a shot:
#1302

Should have that reviewed and merged shortly.

@dqtran91
Copy link
Author

dqtran91 commented Dec 7, 2023

@JPercival thank you for looking into it! This also failed in DateTimeTest.java

Mac as well as Windows.

This fix works for me:
dateTime2 = new DateTime(BigDecimal.ONE.add(BigDecimal.ONE), 2020);

Also, how does one contribute via PRs?

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

No branches or pull requests

2 participants