Skip to content

Commit 90cc270

Browse files
committed
checkstyle: fix broken build
1 parent 583430e commit 90cc270

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/checkstyle/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ RUN curl -L https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-
1919
unzip maven.zip -d $SRC/maven && \
2020
rm maven.zip
2121
ENV MVN $SRC/maven/apache-maven-3.6.3/bin/mvn
22-
RUN git clone --depth 1 https://github.com/checkstyle/checkstyle checkstyle
22+
RUN git clone --depth 1 --branch checkstyle-10.17.0 https://github.com/checkstyle/checkstyle checkstyle
2323
COPY *.sh *Fuzzer.java $SRC/
2424
WORKDIR $SRC/checkstyle

projects/checkstyle/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
##########################################################################
1717
export TARGET_PACKAGE_PREFIX="com.puppycrawl.tools.checkstyle."
1818

19-
MAVEN_ARGS="-Dmaven.test.skip=true -Djavac.src.version=15 -Djavac.target.version=15 --update-snapshots"
19+
MAVEN_ARGS="-Dmaven.test.skip=true -Djavac.src.version=17 -Djavac.target.version=17 --update-snapshots"
2020
$MVN clean package $MAVEN_ARGS
2121

2222
BUILD_CLASSPATH=

0 commit comments

Comments
 (0)