From 4d9b44254ccb3993a69e9893c88d71216644df20 Mon Sep 17 00:00:00 2001 From: Suraj Muraleedharan Date: Mon, 27 May 2024 20:19:19 +0530 Subject: [PATCH] Upgrading few dependencies - static analysis --- Dockerfile | 2 +- build.gradle | 2 +- gradle/staticCodeAnalysis.gradle | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 66aa5b3..e2c41f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:21.0.2_13-jdk +FROM eclipse-temurin:21.0.3_9-jdk COPY . . RUN sed -i '/JAVA_HOME/d' build.sh && chmod +x /start.sh && chmod +x build.sh && chmod +x gradlew VOLUME ["/tmp/db"] diff --git a/build.gradle b/build.gradle index 0c5d4ff..07332ac 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ plugins { id 'net.ltgt.errorprone' version '3.1.0' id 'com.github.spotbugs' version '6.0.8' apply false id 'de.aaschmid.cpd' version '3.3' - id "org.sonarqube" version "4.4.1.3373" + id "org.sonarqube" version "5.0.0.4638" } group = 'com.quiz.darkhold' diff --git a/gradle/staticCodeAnalysis.gradle b/gradle/staticCodeAnalysis.gradle index fbd1ac1..7a01683 100644 --- a/gradle/staticCodeAnalysis.gradle +++ b/gradle/staticCodeAnalysis.gradle @@ -4,7 +4,7 @@ apply plugin: 'jacoco' //apply plugin: 'com.github.spotbugs' checkstyle { - toolVersion = '10.14.1' + toolVersion = '10.17.0' ignoreFailures = false maxWarnings = 0 checkstyleMain { @@ -22,7 +22,7 @@ checkstyle { //} pmd { - toolVersion = '6.55.0' + toolVersion = '7.1.0' ignoreFailures = true ruleSetFiles = files("config/pmd/ruleset.xml") ruleSets = [] @@ -31,7 +31,7 @@ pmd { } jacoco { - toolVersion = "0.8.11" + toolVersion = "0.8.12" reportsDirectory = file("build/reports/jacoco/") }