diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 59a0e7e16b..4834f4562c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -170,7 +170,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} working-directory: hooks/${{ matrix.unit }}/hook - run: ./gradlew build --info + run: ./gradlew build --info --warning-mode all # ---- Build Stage ---- diff --git a/hooks/persistence-defectdojo/hook/build.gradle b/hooks/persistence-defectdojo/hook/build.gradle index 6a28ce3fe8..32bcb7a39f 100644 --- a/hooks/persistence-defectdojo/hook/build.gradle +++ b/hooks/persistence-defectdojo/hook/build.gradle @@ -4,11 +4,11 @@ plugins { id "java" - id "io.freefair.lombok" version "8.12.1" + id "io.freefair.lombok" version "8.13.1" // https://github.com/ben-manes/gradle-versions-plugin // Run: ./gradlew dependencyUpdates -Drevision=release id "com.github.ben-manes.versions" version "0.52.0" - id "org.sonarqube" version "6.0.1.5171" + id "org.sonarqube" version "6.1.0.5360" } group = "io.securecodebox" @@ -24,22 +24,24 @@ repositories { dependencies { implementation group: "io.securecodebox", name: "defectdojo-client", version: "2.0.1" implementation group: "io.kubernetes", name: "client-java", version: "20.0.1" - implementation group: "org.springframework", name: "spring-web", version: "6.2.3" - implementation group: "com.fasterxml.jackson.core", name: "jackson-core", version: "2.18.2" - implementation group: "com.fasterxml.jackson.core", name: "jackson-annotations", version: "2.18.2" - implementation group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.18.2" - implementation group: "com.fasterxml.jackson.datatype", name: "jackson-datatype-jsr310", version: "2.18.2" - implementation group: "org.slf4j", name: "slf4j-api", version: "2.0.16" - implementation group: "org.slf4j", name: "slf4j-log4j12", version: "2.0.16" + implementation group: "org.springframework", name: "spring-web", version: "6.2.5" + implementation group: "com.fasterxml.jackson.core", name: "jackson-core", version: "2.18.3" + implementation group: "com.fasterxml.jackson.core", name: "jackson-annotations", version: "2.18.3" + implementation group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.18.3" + implementation group: "com.fasterxml.jackson.datatype", name: "jackson-datatype-jsr310", version: "2.18.3" + implementation group: "org.slf4j", name: "slf4j-api", version: "2.0.17" + implementation group: "org.slf4j", name: "slf4j-log4j12", version: "2.0.17" // If I try to notate this like the others (with separate strings) I got errors. No idea why sh... Gradle // want it like this. It is the official documented example: // https://github.com/junit-team/junit5-samples/blob/r5.10.0/junit5-jupiter-starter-gradle/build.gradle - testImplementation(platform("org.junit:junit-bom:5.11.4")) + testImplementation(platform("org.junit:junit-bom:5.12.1")) testImplementation("org.junit.jupiter:junit-jupiter") - testImplementation group: "org.mockito", name: "mockito-core", version: "5.15.2" - testImplementation group: "org.mockito", name: "mockito-junit-jupiter", version: "5.15.2" + testImplementation group: "org.mockito", name: "mockito-core", version: "5.17.0" + testImplementation group: "org.mockito", name: "mockito-junit-jupiter", version: "5.17.0" testImplementation group: 'org.hamcrest', name: 'java-hamcrest', version: '2.0.0.0' - testImplementation group: 'uk.org.webcompere', name: 'system-stubs-jupiter', version: '2.1.7' + testImplementation group: 'uk.org.webcompere', name: 'system-stubs-jupiter', version: '2.1.8' + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } java {