liunaijie opened a new issue, #7801:
URL: https://github.com/apache/gravitino/issues/7801
### What would you like to be improved?
Hi team, I find the project is missing `gradlew.bat` script, so when I want
run `./gradlew spotlessApply` it will failed.
I suggest we add this script for the use who dev on windows.
Another thing I noticed is we use `spotless` to format our code, but it will
run before `compileJava` stage.
So when I change code and run unit test, I need run format command before
test.
```
tasks.named("compileJava").configure {
dependsOn("spotlessCheck")
}
```
How about we
- change this format check after `test`
- add a CI to check code style
- give a `pre-commit` script, user can put it into git hook folder, then
before each commit it will auto run `spotlessApply` command
### How should we improve?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]