Skip to content

Commit

Permalink
Downgrade to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfromXXII committed Aug 5, 2022
1 parent e807aa6 commit c97d305
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,20 @@ detekt {
}

tasks {
// Set the compatibility versions to 17
// Set the compatibility versions to 11
withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
sourceCompatibility = "11"
targetCompatibility = "11"
}
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
jvmTarget = "11"
freeCompilerArgs = listOf("-Xjvm-default=enable")
}
}

withType<Detekt> {
jvmTarget = "17"
jvmTarget = "11"
reports {
html.required.set(false)
xml.required.set(false)
Expand Down

0 comments on commit c97d305

Please sign in to comment.