diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index e09caf4..00bdd67 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -19,17 +19,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 17 - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'zulu' - name: Build with Gradle uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021 with: arguments: jar - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: DropsOverhaul path: build/libs \ No newline at end of file diff --git a/build.gradle b/build.gradle index b0fd285..17a4c8f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,10 @@ plugins { id 'java' - id 'xyz.jpenilla.run-paper' version '2.3.0' + id 'xyz.jpenilla.run-paper' version '2.3.1' } group = 'org.infotoast' -version = '2.5' +version = '3.0' repositories { mavenCentral() @@ -19,7 +19,7 @@ repositories { } dependencies { - compileOnly 'io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT' + compileOnly 'io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT' } def targetJavaVersion = 21 @@ -49,7 +49,7 @@ processResources { tasks { runServer { - minecraftVersion("1.20.6") + minecraftVersion("1.21.1") } }