diff --git a/.github/workflows/ci-prb-reports.yml b/.github/workflows/ci-prb-reports.yml index 9d6627c22e..2fabe824d2 100644 --- a/.github/workflows/ci-prb-reports.yml +++ b/.github/workflows/ci-prb-reports.yml @@ -10,7 +10,7 @@ jobs: strategy: # Matrix should be coordinated with ci-prb.yml. matrix: - java: [ 8, 11, 17, 21 ] + java: [ 8, 11, 17, 20 ] os: [ ubuntu-latest ] steps: - name: Download Artifacts diff --git a/.github/workflows/ci-prb.yml b/.github/workflows/ci-prb.yml index 4b6a28945f..4e0dcaea38 100644 --- a/.github/workflows/ci-prb.yml +++ b/.github/workflows/ci-prb.yml @@ -8,7 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - java: [ 8, 11, 17, 21 ] + java: [ 8, 11, 17, 20 ] os: [ ubuntu-latest ] steps: - name: Checkout Code diff --git a/.github/workflows/ci-prq-reports.yml b/.github/workflows/ci-prq-reports.yml index ebc62762b4..a7892ea028 100644 --- a/.github/workflows/ci-prq-reports.yml +++ b/.github/workflows/ci-prq-reports.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ 8, 11, 17, 21 ] + java: [ 8, 11, 17, 20 ] steps: - name: Download Artifacts uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e diff --git a/.github/workflows/ci-prq.yml b/.github/workflows/ci-prq.yml index a51a3841a3..c0476daef2 100644 --- a/.github/workflows/ci-prq.yml +++ b/.github/workflows/ci-prq.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ 8, 11, 17, 21 ] + java: [ 8, 11, 17, 20 ] steps: - name: Checkout Code uses: actions/checkout@v4 diff --git a/build.gradle b/build.gradle index 0b4b1f1b84..42f13ac947 100644 --- a/build.gradle +++ b/build.gradle @@ -41,10 +41,6 @@ task validateLocalDocSite(type: Exec) { quality.dependsOn validateLocalDocSite subprojects { - // mockito 5 only supports jdk11+ - if (JavaVersion.current() < JavaVersion.VERSION_11) { - project.setProperty("mockitoCoreVersion", "4.11.0") - } // Used by ci-release.yaml to determine which modules need to be built/released with JDK11. task printJavaTargetCompatibility { doLast { diff --git a/gradle.properties b/gradle.properties index c05ae6a1ec..9da306e891 100644 --- a/gradle.properties +++ b/gradle.properties @@ -72,8 +72,7 @@ junit5Version=5.9.3 testngVersion=7.5 assertJCoreVersion=3.24.2 hamcrestVersion=2.2 -# mockito version is overridden for