Skip to content

Commit

Permalink
feat(build): target JDK 1.8
Browse files Browse the repository at this point in the history
BREAKING: downgrade from Java 11 to Java 8. Update your source code accordingly. This is because most servers still run Java 8 and most of the plugins out there do not support Java 11.
  • Loading branch information
Silthus committed May 12, 2020
1 parent c067aab commit 0cc380c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Expand Up @@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-18.04

steps:
- name: Set up JDK 11
- name: Set up JDK 8
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 8

- name: Cache Gradle
id: cache-gradle
Expand Down Expand Up @@ -48,10 +48,10 @@ jobs:
runs-on: ubuntu-18.04

steps:
- name: Set up JDK 11
- name: Set up JDK 8
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 8

- name: Set up Node.js v12.x
uses: actions/setup-node@v1
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -15,8 +15,8 @@ plugins {
apply from: "$rootDir/gradle/jacoco.gradle"
apply from: "$rootDir/gradle/publish.gradle"

sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = 8
targetCompatibility = 8

ext {
//Define one of the supported mc versions
Expand Down

0 comments on commit 0cc380c

Please sign in to comment.