[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected
Description
Noticed a warning about this on the release job so figured we should switch over, it's functionally identical just renamed
Also changes the publish step to the new way of setting up gradle and then calling the tasks as
arguments
is now deprecated tooReferences
https://github.com/openfga/java-sdk/actions/runs/8925573963
Review Checklist
main