build: switch to gradle build

Our Java projects are gradle based.
pull/1/head
Richard Attermeyer 2023-11-04 18:06:32 +01:00
parent ee76007f00
commit 0d72e6c185
1 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@ steps:
- pre-commit run --all-files - pre-commit run --all-files
"lint:style": "lint:style":
group: lint group: lint
image: maven:3.9.4-eclipse-temurin-17 image: gradle:8.4.0-jdk17
commands: commands:
- mvn spotless:check - gradle spotlessCheck --no-daemon
"lint:credentials": "lint:credentials":
group: lint group: lint
image: ghcr.io/gitleaks/gitleaks:latest image: ghcr.io/gitleaks/gitleaks:latest
@ -36,9 +36,9 @@ steps:
image: ghcr.io/hadolint/hadolint:latest-debian image: ghcr.io/hadolint/hadolint:latest-debian
commands: commands:
- hadolint --version - hadolint --version
- hadolint Dockerfile - hadolint Dockerfile
"build:java": "build:java":
group: build group: build
image: gradle:8.4.0-jdk17-alpine image: gradle:8.4.0-jdk17
commands: commands:
- ./gradlew build - ./gradlew build