Adjusted --file-list to match latest PMD version · smilingwords/pre-commit-java@b074262 · GitHub
Skip to content

Commit b074262

Browse files
committed
Adjusted --file-list to match latest PMD version
1 parent f017ec6 commit b074262

4 files changed

Lines changed: 16 additions & 15 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:13-alpine
1+
FROM openjdk:17-alpine
22

33
RUN apk add --update --no-cache wget unzip curl bash jq
44
RUN mkdir -p /opt

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/gherynos/pre-commit-java)
1+
# pre-commit-java
22

3-
pre-commit-java
4-
===============
3+
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/gherynos/pre-commit-java)
54

65
A collection of git hooks for Java to be used with the [pre-commit framework](http://pre-commit.com).
76

87
## Requirements
98

109
pre-commit-java requires the following to run:
1110

12-
* [pre-commit](http://pre-commit.com)
13-
* [Docker](https://www.docker.com)
11+
* [pre-commit](http://pre-commit.com)
12+
* [Docker](https://www.docker.com)
1413

1514
## Install
1615

@@ -22,7 +21,7 @@ example `.pre-commit-config.yaml`:
2221

2322
```yaml
2423
- repo: https://github.com/gherynos/pre-commit-java
25-
rev: v0.1.0 # Use the ref you want to point at
24+
rev: v0.2.0 # Use the ref you want to point at
2625
hooks:
2726
- id: pmd
2827
exclude: /test/

run_pmd.sh

Lines changed: 4 additions & 2 deletions

0 commit comments

Comments
 (0)