diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml index 3ce1f468..83995b4b 100644 --- a/.github/workflows/java-ci.yml +++ b/.github/workflows/java-ci.yml @@ -14,11 +14,11 @@ jobs: id: vars run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - - name: Set up JDK 16 + - name: Set up JDK 17 uses: actions/setup-java@v2 with: distribution: 'adopt' - java-version: 16 + java-version: 17 - name: Setup build cache uses: actions/cache@v2.1.6 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 7245011f..d046ddc0 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -12,11 +12,11 @@ jobs: - name: Checkout latest code uses: actions/checkout@v2 - - name: Set up JDK 16 + - name: Set up JDK 17 uses: actions/setup-java@v2 with: distribution: 'adopt' - java-version: 16 + java-version: 17 - name: Setup build cache uses: actions/cache@v2.1.6 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 99c6e064..b65d57db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,4 +21,4 @@ ## Other - All drops **must** be sent through a DropQueue - calls to World#dropItem will get your PR rejected. -- eco is built with java 16. \ No newline at end of file +- eco is built with java 17. \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index c0dc4cbc..f75b7207 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -94,8 +94,8 @@ allprojects { } java { - sourceCompatibility = JavaVersion.VERSION_16 - targetCompatibility = JavaVersion.VERSION_16 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 withSourcesJar() } diff --git a/eco-core/build.gradle b/eco-core/build.gradle index 7dcd033f..f88cbc98 100644 --- a/eco-core/build.gradle +++ b/eco-core/build.gradle @@ -21,9 +21,9 @@ subprojects { compileKotlin { kotlinOptions { - jvmTarget = "16" + jvmTarget = "17" } - targetCompatibility = JavaVersion.VERSION_16 - sourceCompatibility = JavaVersion.VERSION_16 + targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_17 } } \ No newline at end of file diff --git a/jitpack.yml b/jitpack.yml index 996a9f0b..31560e64 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,6 +1,6 @@ -jdk: openjdk16 +jdk: openjdk17 before_install: - source "$HOME/.sdkman/bin/sdkman-init.sh" - sdk update - - sdk install java 16.0.1-open - - sdk use java 16.0.1-open \ No newline at end of file + - sdk install java 17.0.1-open + - sdk use java 17.0.1-open \ No newline at end of file