Skip to content

Commit

Permalink
[ci] Updates gradle to 8.7 (#1960)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored May 23, 2024
1 parent 83e943b commit 054d517
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 15 deletions.
2 changes: 2 additions & 0 deletions awscurl/src/test/java/ai/djl/awscurl/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/

/** Contains testing classes for awscurl modules. */
package ai.djl.awscurl;
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/

/** Contains tests for the cache module. */
package ai.djl.serving.cache;
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/

/** Contains tests for the kserve module. */
package ai.djl.serving.kserve;
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*/
package ai.djl.serving.http.list;

import ai.djl.serving.http.list.ListAdaptersResponse.AdapterItem;

import java.util.ArrayList;
import java.util.List;

Expand Down
5 changes: 2 additions & 3 deletions tools/conf/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@
value="Override, Test, Before, After, BeforeClass, AfterClass"/>
</module>
-->
<module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/>
<module name="InnerTypeLast"/>
<!--
Expand Down Expand Up @@ -284,8 +283,8 @@
<!-- Javadoc Comments -->
<module name="AtclauseOrder"/>
<module name="JavadocMethod">
<property name="allowUndeclaredRTE" value="true"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
</module>
<module name="JavadocParagraph"/>
<module name="JavadocStyle">
Expand Down
7 changes: 0 additions & 7 deletions tools/conf/suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,4 @@
<suppress checks="(AvoidStaticImport|ImportOrder)" files="src[\\/]test[\\/]java[\\/]"/>

<suppress checks="(MissingJavadocMethod|MissingJavadocType)" files="src[\\/](test|it)[\\/].*"/>

<!-- Suppress javadoc in modules-->
<suppress checks="(MissingJavadocMethod|MissingJavadocType)" files="ai[\\/]djl[\\/]testing[\\/]"/>
<suppress checks="(MissingJavadocMethod|MissingJavadocType)" files="ai[\\/]djl[\\/]integration[\\/]"/>
<suppress checks="(MissingJavadocMethod|MissingJavadocType)" files="ai[\\/]djl[\\/]examples[\\/]"/>
<suppress checks="(MissingJavadocMethod|MissingJavadocType)" files="ai[\\/]djl[\\/]mxnet[\\/]jnarator[\\/]"/>
<suppress checks="(MissingJavadocMethod|MissingJavadocType)" files="ai[\\/]djl[\\/]tensorflow[\\/]"/>
</suppressions>
4 changes: 2 additions & 2 deletions tools/gradle/check.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tasks.withType(Pmd) {

apply plugin: "checkstyle"
checkstyle {
toolVersion = "8.26"
toolVersion = "10.12.4"
ignoreFailures = false
checkstyleTest.enabled = true
configProperties = [
Expand All @@ -56,7 +56,7 @@ tasks.withType(Checkstyle) {

apply plugin: 'jacoco'
jacoco {
toolVersion = "0.8.8"
toolVersion = "0.8.11"
}
jacocoTestReport {
reports {
Expand Down

0 comments on commit 054d517

Please sign in to comment.