Sets up spotless on the Java package, this is mostly lifted from the spring-boot-starter.
Checking can be done with make lint/ ./gradlew lint and formatting with make format/./gradlew fmt, I've not hooked the formatting into check so that tests operate separately to formatting to avoid our CI tests failing for formatting issues.
Pushing without formatting first to ensure CI works correctly.
[ ] 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
Sets up spotless on the Java package, this is mostly lifted from the spring-boot-starter.
Checking can be done with
make lint
/./gradlew lint
and formatting withmake format
/./gradlew fmt
, I've not hooked the formatting intocheck
so that tests operate separately to formatting to avoid our CI tests failing for formatting issues.Pushing without formatting first to ensure CI works correctly.
References
Review Checklist
main