diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51262bc7..f9971375 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,9 +6,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Build with gradle run: ./gradlew check diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 24551cef..147ac4ae 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Publish package run: ./gradlew publishAllPublicationsToGitHubPackagesRepository env: diff --git a/build.gradle b/build.gradle index 8a223083..424b6af7 100644 --- a/build.gradle +++ b/build.gradle @@ -30,7 +30,7 @@ subprojects { 'commons_compress': '1.21', 'guava': '29.0-jre', 'jackson_databind': '2.15.1', - 'jdk': '8', + 'jdk': '11', 'junit': '4.12', 'mockito': '2.27.0', 'slf4j': '1.7.36',