diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83a5e82..f452994 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v6 with: distribution: temurin - java-version: '25' + java-version: '21' cache: maven - name: Install shared plugin dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4cab16c..8c26b47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,6 @@ jobs: contents: write uses: ./.github/workflows/maven-release.yml with: - java-version: '25' + java-version: '21' # Exact path, not a glob. {version} is replaced with the tag without v. artifact-path: target/geiger_counter-{version}.jar diff --git a/pom.xml b/pom.xml index 3cce599..ca98b82 100644 --- a/pom.xml +++ b/pom.xml @@ -12,10 +12,9 @@ tfminecraft.net - 1.1.0 + 1.1.1 UTF-8 - 21 - 21 + 21 @@ -38,7 +37,7 @@ io.papermc.paper paper-api - 1.21.3-R0.1-SNAPSHOT + 1.21.10-R0.1-SNAPSHOT provided @@ -85,6 +84,11 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 3.14.1 + org.apache.maven.plugins diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 20de287..e770f29 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -2,7 +2,7 @@ main: tfmc.justin.geiger_counter version: ${project.version} name: geiger_counter author: Justin -api-version: 1.21 +api-version: '1.21.10' depend: [TLibs] softdepend: [WorldGuard] commands: