diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed65df4..acfc17b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,11 +38,11 @@ jobs: runs-on: ubuntu-latest steps: - # Setup Java 17 environment for the next steps + # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v1 with: - java-version: 1.17 + java-version: 1.11 # Check out current repository - name: Fetch Sources @@ -83,11 +83,11 @@ jobs: artifact: ${{ steps.properties.outputs.artifact }} steps: - # Setup Java 17 environment for the next steps + # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v1 with: - java-version: 1.17 + java-version: 1.11 # Check out current repository - name: Fetch Sources @@ -145,11 +145,11 @@ jobs: runs-on: ubuntu-latest steps: - # Setup Java 17 environment for the next steps + # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v1 with: - java-version: 1.17 + java-version: 1.11 # Check out current repository - name: Fetch Sources diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e07015..4e67f8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - # Setup Java 17 environment for the next steps + # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v1 with: - java-version: 1.17 + java-version: 1.11 # Check out current repository - name: Fetch Sources @@ -39,11 +39,11 @@ jobs: runs-on: ubuntu-latest steps: - # Setup Java 17 environment for the next steps + # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v1 with: - java-version: 1.17 + java-version: 1.11 # Check out current repository - name: Fetch Sources diff --git a/build.gradle.kts b/build.gradle.kts index 7db7ced..3f3ea65 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -83,20 +83,20 @@ detekt { } tasks { - // Set the compatibility versions to 17 + // Set the compatibility versions to 11 withType { - sourceCompatibility = "17" - targetCompatibility = "17" + sourceCompatibility = "11" + targetCompatibility = "11" } withType { kotlinOptions { - jvmTarget = "17" + jvmTarget = "11" freeCompilerArgs = listOf("-Xjvm-default=enable") } } withType { - jvmTarget = "17" + jvmTarget = "11" reports { html.required.set(false) xml.required.set(false)