From e119e70310614c74b8f2693399b47308d3813a1d Mon Sep 17 00:00:00 2001 From: Tharik Kanaka Date: Thu, 22 Oct 2020 16:36:11 +0530 Subject: [PATCH] Downgrade to jdk 1.8 --- .github/workflows/build-master.yml | 4 ++-- .github/workflows/publish-release.yml | 4 ++-- .github/workflows/pull-request.yml | 4 ++-- build.gradle | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index 9fab7a64..dbfeb17d 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 1.8 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 64e28c40..62858e0b 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 1.8 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Publish artifact diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 6925b92c..d09e6617 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 1.8 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/build.gradle b/build.gradle index 7a9346a1..1118eb65 100644 --- a/build.gradle +++ b/build.gradle @@ -59,7 +59,7 @@ task createZip(type:Zip) { destinationDir file('build') } -sourceCompatibility = 11 +sourceCompatibility = 1.8 dependencies { implementation 'info.picocli:picocli:4.0.1'