diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2af7d92..cfd0418 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '8' + java-version: '21' cache: 'gradle' - name: Build run: ./gradlew build diff --git a/README.md b/README.md index f65965e..c91d4cc 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,4 @@ LWC is the longest-lived single block protection plugin, that protects both the Please see our [wiki](https://github.com/pop4959/LWCX/wiki) for important information about setting up and using the plugin. ### Contributing -Contributing to LWCX is encouraged, and very easy. Fork the repository, and build using maven. Simply make a pull request explaining your changes, and how they are a beneficial addition to the plugin. Travis will automatically build all pull requests to ensure that they build on OpenJDK 8. +Contributing to LWCX is encouraged, and very easy. Fork the repository, and build using maven. Simply make a pull request explaining your changes, and how they are a beneficial addition to the plugin. Github Actions will automatically build all pull requests to ensure that they build with OpenJDK 21. diff --git a/build.gradle.kts b/build.gradle.kts index a0c15fb..2ce3e94 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,12 +3,12 @@ import java.util.* plugins { id("java-library") id("maven-publish") - id("com.github.johnrengelman.shadow") version "8.1.1" + id("io.github.goooler.shadow") version "8.1.7" } java { toolchain { - languageVersion.set(JavaLanguageVersion.of(17)) + languageVersion.set(JavaLanguageVersion.of(21)) } withSourcesJar() } diff --git a/gradle.properties b/gradle.properties index b8d3e4a..83036c8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ org.gradle.jvmargs=-Xmx2G group=com.griefcraft -version=2.3.2 +version=2.4.0 description=Inventory protection & management utilizing SQLite or MySQL as its backend. github=https://github.com/pop4959/LWCX