Skip to content

Commit

Permalink
Target Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
pop4959 committed May 13, 2024
1 parent 19429bc commit 5a4e47d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5a4e47d

Please sign in to comment.