build: use gradle for github PRs checks (#1123)

3 files changed