Skip to content

Commit d09b3a4

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Docker] [gradle] checkstyle configuration moved to root
1 parent 53b13ef commit d09b3a4

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"java.configuration.updateBuildConfiguration": "automatic",
33
"java.compile.nullAnalysis.mode": "automatic",
4-
"java.checkstyle.configuration": "${workspaceFolder}/config/checkstyle/checkstyle.xml",
4+
"java.checkstyle.configuration": "${workspaceFolder}/checkstyle.xml",
55
"java.checkstyle.version": "10.10.0",
66
"sonarlint.connectedMode.project": {
77
"connectionId": "sir-gon",

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ COPY ./CODE_OF_CONDUCT.md ${WORKDIR}/
3131
# Code source
3232
COPY ./algorithm-exercises-java ${WORKDIR}/algorithm-exercises-java
3333
COPY ./settings.gradle ${WORKDIR}/
34-
COPY ./config ${WORKDIR}/config
3534
COPY ./Makefile ${WORKDIR}/
3635

36+
# code linting conf
37+
COPY ./checkstyle.xml ${WORKDIR}/checkstyle.xml
38+
3739
# markdownlint conf
3840
COPY ./.markdownlint.yaml ${WORKDIR}/
3941

algorithm-exercises-java/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tasks.named('test') {
4343

4444
checkstyle {
4545
toolVersion = '10.17.0'
46-
configFile = file("${rootDir}/config/checkstyle/checkstyle.xml")
46+
configFile = file("${rootDir}/checkstyle.xml")
4747
maxErrors = 0
4848
maxWarnings = 0
4949
showViolations = true
File renamed without changes.

0 commit comments

Comments
 (0)