File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 5858 fetch-depth : 50
5959 - name : ' Test'
6060 run : |
61- ./gradlew --no-parallel --no-daemon tasks build javadoc -Pcheckstyle.version=9.3
61+ ./gradlew --no-parallel --no-daemon tasks build javadoc
6262
6363 linux-jdk8-avatica :
6464 name : ' Linux (JDK 8), Avatica main'
7474 fetch-depth : 50
7575 - name : ' Install Avatica to Maven Local'
7676 run : |
77- ./gradlew publishToMavenLocal -Pcalcite.avatica.version=1.0.0-dev-main -PskipJavadoc -Pcheckstyle.version=9.3
77+ ./gradlew publishToMavenLocal -Pcalcite.avatica.version=1.0.0-dev-main -PskipJavadoc
7878 - name : ' Test Calcite'
7979 run : |
8080 git clone --depth 100 https://github.com/apache/calcite.git ../calcite
Original file line number Diff line number Diff line change @@ -209,7 +209,9 @@ allprojects {
209209 if (! skipCheckstyle) {
210210 apply<CheckstylePlugin >()
211211 dependencies {
212- checkstyle(" com.puppycrawl.tools:checkstyle:${" checkstyle" .v} " )
212+ val checkstyleVersion = if (JavaVersion .current() == JavaVersion .VERSION_1_8 )
213+ " jdk8.checkstyle" .v else " checkstyle" .v
214+ checkstyle(" com.puppycrawl.tools:checkstyle:$checkstyleVersion " )
213215 }
214216 checkstyle {
215217 // Current one is ~8.8
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ org.owasp.dependencycheck.version=5.2.2
5151# Tools
5252checkerframework.version =3.10.0
5353checkstyle.version =10.3.2
54+ jdk8.checkstyle.version =9.3
5455spotbugs.version =3.1.11
5556
5657asm.version =7.1
You can’t perform that action at this time.
0 commit comments